microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
52 stars 28 forks source link

Azure Resource VSCode Extension not showing US Gov Subscriptions when logged in #817

Closed amorrow-flexion closed 5 months ago

amorrow-flexion commented 7 months ago

Does this occur consistently? Yes preconditions:

Repro steps:

  1. Install VS Code Extension for Azure Resources
  2. Azure: Login through cmd > shift > p
  3. successfully authenticate to tenant
  4. within the Azure extension blade, click "Select Subscription..."
Screenshot 2024-02-08 at 9 04 04 AM

I followed several troubleshooting steps, none of which proved successful:

  1. Removed all Azure related extensions including this one, and reinstalled the Azure Resources extension only, signed out using Azure: Sign Out and attempted to sign in again
  2. Signed out of the azure account within the AZ Cli, the extension with cmd> shift > p Azure: Sign Out (also clearing the tenant ID), and within my browser. Then authenticated to try and populate subscriptions
  3. Attempted to use "Azure: Sign in to Azure Cloud..." to authenticate.
  4. Attempted to add subscription directly to the Azure extension settings within VS Code

Version: 0.8.4 OS: darwin OS Release: 23.2.0 Product: Visual Studio Code Product Version: 1.86.0 Language: en

alexweininger commented 7 months ago

To connect to a sovereign cloud, set the microsoft-sovereign-cloud.environment setting. This is new as of v0.8.0 and is a result of our migration to the built-in Microsoft authentication extension which replaces the Azure Account extension. Learn more in the release notes.

nturinski commented 5 months ago

Closing due to a lack of activity/response. Hopefully the wise @alexweininger was able to help resolve this issue.