microsoft / vscode-azure-account

Common Azure Login extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account
Other
138 stars 131 forks source link

Logged into Azure but cannot access subscription or resources #916

Closed lee-40square closed 9 months ago

lee-40square commented 10 months ago

I am logged into Azure USGov but it keeps asking to choose a subscription but doesn't show my subscriptions so I can't select anything and therefore no resources are loaded.

Screenshot 2024-01-14 at 14 57 31 (2)

However, if I click on the account (at the bottom) I can see and select the subscriptions:

Screenshot 2024-01-14 at 14 57 54 (2)

No matter what I do, I simply cannot get the resources to load.

MacOS Sonoma 14.2.1 (23C71) Visual Studio Code 1.85.1

alexweininger commented 10 months ago

As of v0.8.0 of the Azure Resources extension, the Azure Account extension is no longer used for authentication. Read more about this change here.

The account indicator at the bottom is from Azure Account and is no longer connected to the Azure Resource extension.

For Azure US Gov, make sure you follow the instructions on the Azure Resources readme. Specifically about setting the microsoft-sovereign-cloud.environment setting.

AzCode-Bot commented 9 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!