microsoft / microsoft/vscode-azureresourcegroups
## Azure Resources extension fails to load subscriptions for Azure China Cloud (世纪互联)
Open
@alexweininger is already working on this.
Since Apr 1, 2026.
upstream
- Dominant language
- TypeScript
- Stars
- 78
- Forks
- 55
- Avg merge
- 16h 49m
- Merged PRs (30d)
- 139
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.