microsoft / vscode-azureresourcegroups

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

First launch of Cloud Shell in a directory requires setup - USGovernment #911

Open devopsjesus opened 2 weeks ago

devopsjesus commented 2 weeks ago

I have successfully setup the Azure Resources extension in VS Code to authenticate to my directory/tenant. However, when launching a CloudShell for the first time, I am encountering an issue with successfully completing setup. The toast popup that opens the page to authenticate for 'first launch' is shell.azure.com. I can input my gov account (ending in .us) and the login prompt will successfully authenticate, but I am simply sent to the portal (portal.azure.us). Meanwhile, the CloudShell session in VS Code is closed after clicked 'Open' on the toast popup. Hoping to use this capability to reduce security footprint on 'developer PAWs'.

alexweininger commented 2 weeks ago

If you go to the USGovernment portal directly and access cloud shell there, are you able to go through the setup process? Once you set it up there it should work properly within the extension.

devopsjesus commented 2 weeks ago

I did go into the portal and setup the cloudshell (with ephemeral storage) - perhaps this is an issue with setting up the storage account?

alexweininger commented 2 weeks ago

Ok, so even after setup in the portal the extension indicates that setup is still required via that notification?

devopsjesus commented 2 weeks ago

Yes, that’s correct: image

devopsjesus commented 1 week ago

bump

alexweininger commented 1 week ago

Was this working before and recently break? Does reverting back to v0.9.1 of the Azure Resources extension fix the issue?

devopsjesus commented 3 days ago

This was the first time attempting to connect with the extension. I did just revert to v0.9.1 and see the same error.