Environment
- OS: macOS (ARM64), tested on multiple Macs
- VS Code: latest stable
- Azure Resources Extension: latest
- microsoft-sovereign-cloud.environment: "ChinaCloud"
- microsoft-authentication.implementation: tested both "msal" and "msal-no-broker", same result
What works
- Azure CLI (
az login) signs in to China Cloud successfully
- VS Code Accounts panel shows the account as signed in (via Microsoft Sovereign Cloud provider)
- Azure Global Cloud works perfectly with the same VS Code/extension version
What doesn't work
- Azure Resources sidebar panel does not load any subscriptions for China Cloud
- Clicking the refresh button completes in ~1 second with no loading indicator
- Developer Tools Network tab shows NO requests (compared to Azure Global which shows a 200 response)
- Azure Resources Output channel is completely empty (no logs at all)
- Console shows:
User did not consent to login (even though the consent prompt was clicked "Allow")
If you have a Mac and an Azure China Subscription you shall repro this, and find 'Azure Resources' latest extension not functioning/loading resources at all.
Steps to reproduce
- Set
"microsoft-sovereign-cloud.environment": "ChinaCloud" in settings.json
- Sign in to Azure China Cloud via Azure Resources panel
- Browser authentication completes successfully
- Click "Allow" on the VS Code consent notification
- VS Code Accounts shows the account as signed in
- Azure Resources panel remains empty, refresh produces no network/output activity
Key observation
The extension appears to short-circuit before making any ARM API calls.
No network requests, no output logs - it exits the refresh flow immediately.
This is reproducible across multiple Macs and multiple Azure China Cloud tenants.
Related
Environment
What works
az login) signs in to China Cloud successfullyWhat doesn't work
User did not consent to login(even though the consent prompt was clicked "Allow")If you have a Mac and an Azure China Subscription you shall repro this, and find 'Azure Resources' latest extension not functioning/loading resources at all.
Steps to reproduce
"microsoft-sovereign-cloud.environment": "ChinaCloud"in settings.jsonKey observation
The extension appears to short-circuit before making any ARM API calls.
No network requests, no output logs - it exits the refresh flow immediately.
This is reproducible across multiple Macs and multiple Azure China Cloud tenants.
Related