Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The subscription drop down did not list the subscription #1245

Open
Durga-S1 opened this issue Nov 14, 2024 · 9 comments
Open

The subscription drop down did not list the subscription #1245

Durga-S1 opened this issue Nov 14, 2024 · 9 comments

Comments

@Durga-S1
Copy link

Durga-S1 commented Nov 14, 2024

Describe the Bug with repro steps

The sign in would be successful with Managed Identity but the subscription drop down did not list the subscription where cx creating the Logic app.

I reproduced the issue in my lab and noticed the same behavior. For troubleshooting purposes, I tried both the old and new Logic Apps, but it did not work.

What type of Logic App Is this happening in?

Standard (Portal)

Which operating system are you using?

Windows

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {},
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "When_a_resource_event_occurs": {
                "type": "ApiConnectionWebhook",
                "inputs": {
                    "host": {
                        "connection": {
                            "referenceName": "azureeventgrid"
                        }
                    },
                    "body": {
                        "properties": {
                            "topic": "",
                            "destination": {
                                "endpointType": "webhook",
                                "properties": {
                                    "endpointUrl": "@listCallbackUrl()"
                                }
                            }
                        }
                    },
                    "path": "/subscriptions/@{encodeURIComponent('')}/providers/@{encodeURIComponent('Microsoft.Storage.StorageAccounts')}/resource/eventSubscriptions",
                    "queries": {
                        "x-ms-api-version": "2017-09-15-preview"
                    }
                },
                "splitOn": "@triggerBody()"
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

Image

Browser

Additional context

No response

@StephenWThomas
Copy link

StephenWThomas commented Nov 14, 2024

I ran into this same issue twice, and here are the two solutions in case one helps you out:

Approach One:
If you use MFA, you might need to log in using Azure: Sign in to Directory from the Command Palette.

Approach Two:
I had a similar issue, and it was related to my account having access to more than one Azure account (Tenant). It could also be that the wrong Tenant value has been set by a logon in the past.

Did you check to make sure you're in the right tenant?
On the Azure Account extension, right-click on the gear icon and go to Settings. Check the last value for Azure: Tenant.

You can visit the Command Palette, Azure: Select Tenant, or try Azure: Select Subscription. To set them.

@Durga-S1
Copy link
Author

Durga-S1 commented Nov 14, 2024 via email

@ccastrotrejo
Copy link

Hi all thanks for keeping it up in this issue.
@Durga-S1 Is this happening in Azure portal or vscode extension?

@Durga-S1
Copy link
Author

Durga-S1 commented Nov 15, 2024 via email

@ccastrotrejo
Copy link

Hi @Durga-S1 do you see any API call failing? This might be related to the connection or the settings of the logic app

@Durga-S1
Copy link
Author

Could you please confirm if there are any specific settings I need to check.

@ccastrotrejo
Copy link

@Durga-S1 I am not aware of any specific settings. I will take some time and look for anything in our documentation

@StephenWThomas
Copy link

Does your account have access to more than one Tenant?

I ran into issues again tonight, and nothing could get it moved to my 2nd tenant.

Finally, I signed in and ran Azure: Sign in to Directory from the Command Palette.

If you aren't part of more than one tenant, this probably won't help. I just wanted to throw this out again after I ran into issues again.

@Elaina-Lee
Copy link

From the attached information on ICM open, this is happening due to the API call failing. Transferring the ticket to backend.

@Elaina-Lee Elaina-Lee transferred this issue from Azure/LogicAppsUX Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants