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

I sign in successfully but the extension does not find any of my subscriptions #193

Closed
plachmann opened this issue Jun 8, 2020 · 14 comments
Assignees

Comments

@plachmann
Copy link

I am using VS Code on Windows version 1.45.1
I am using the Azure Functions extension version 0.22.1

image

I can sign in successfully. And I see this

image

Then if I try to select a subscription I always get this:

image

If I go to a power shell prompt and issue the command 'az account list' I can see all 4 of the subscriptions I have access to (1 for my free account, 3 for my client)

Is there a workaround for this issue?

@plachmann
Copy link
Author

Azure Account extension version 0.8.11

@dim-0
Copy link

dim-0 commented Jun 9, 2020

I have the exact same issue in #195 and therefore close it again.
Purging the install, deleting user config and extensions (~/.vscode/ and ~/.config/Code/) and reinstalling did not work.

@dim-0
Copy link

dim-0 commented Jun 14, 2020

I find it pretty upsetting to see no activity on this, even though this is an integral part of an official Microsoft product. Seriously makes me wonder, whether I want to keep working with Azure, if the account management part of their reference IDE sees so little support activity... (not that Azure's regular customer support helped me any further so far)

One more piece of information: This issue persists, even if I do a clean install of VSCode to a different machine.

@chrmarti
Copy link
Contributor

Try setting the tenant id of your subscriptions in the settings:
image

We usually discover all tenants, but not all are necessarily listed.

Does that help?

@dim-0
Copy link

dim-0 commented Jun 17, 2020

Hi @chrmarti,
indeed, this worked. Thanks a lot!

@janielMartell
Copy link

janielMartell commented Jul 23, 2020

Any time I try to see my logic apps from vscode it shows the following error: "The subscription 'MY_SUB_ID' could not be found."
My resources are in a sovereign cloud, I configured the Azure: Cloud and I also added the Azure: Tenant, and it still does not work for me. Any thoughts?

@RMacfarlane
Copy link
Contributor

@janielMartell Does running the command Azure: Select Subscriptions show a list with your subscription in it?

@janielMartell
Copy link

@RMacfarlane Yes, when I run that command my subscription appears, and it's selected.

@RMacfarlane
Copy link
Contributor

@janielMartell Then I suspect the problem is with the logic apps extension, can you open a new issue there?

@janielMartell
Copy link

For anyone that might be interested, I opened an issue with the logic app team (As advised by @RMacfarlane). And they told me that they don’t support sovereign clouds yet, but there’s a PR so we should have support relatively soon 👍

microsoft/vscode-azurelogicapps#165 (comment)

@mhoeger
Copy link

mhoeger commented Feb 10, 2021

@chrmarti - is there a longer-term fix being tracked that's not a manual workaround? Or some sort of error that can be surfaced when fetching tenant fails? I just ran into this today. Thanks!

cc: @chrisdias and @RMacfarlane

@andrews05
Copy link

andrews05 commented Sep 13, 2021

I had to do the same thing. I was on a free trial and it was working but after upgrading it stopped working until I set my tenant id in the settings. Isn't this a bug? It should work without having to do that.

@chrmarti
Copy link
Contributor

@andrews05 Could you open a new issue for this? Thanks.

@Sidzeppelin95
Copy link

Sidzeppelin95 commented Jan 4, 2024

I am facing an issue with az login where the browser window opens and shows an error saying login.microsoftonline.com sent an invalid response. Unable to continue the exercise without it. When tried using device code it shows SSL protocol error on the browser. Please suggest!

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

9 participants