Access Azure Government with VS Code Azure Extension

Here are the steps to access Azure Government resources from VS Code. If you experience issues even after setting these setting I’d recommend capturing a Fiddler trace to inspect the URLs being accessed.

1. Open VS Code and Press Ctrl-Shift-P to pull up the command pallet and search for Sign In to Azure Cloud

2. Select the respective cloud (in this case Azure US Government 

3. Once logged in you should see your resources: