You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code works fine for "normal" Azure but fails for Azure China.
With the az CLI it works fine:
% az cloud set --name AzureChinaCloud
(base) fabian.jakobs@NM4Y0F6NN6 Workspaces % az login
A web browser has been opened at https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
URL https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token
[
{
"cloudName": "AzureChinaCloud",
"homeTenantId": "XXXXX",
"id": "XXXXX",
"isDefault": true,
"managedByTenants": [
{
"tenantId": "XXXXX"
},
{
"tenantId": "XXXXX"
},
{
"tenantId": "XXXXX"
}
],
"name": "Test",
"state": "Enabled",
"tenantId": "XXXXX",
"user": {
"name": "[email protected]",
"type": "user"
}
}
]
VS Code Version: 1.77.3
Azure Account Extension Version: 0.11.4
OS Version: OSX 13.3.1 (a)
Are you connected to a proxy server? No
The text was updated successfully, but these errors were encountered:
I'm trying to use the
azure-account
extension to programmatically get Azure credentials for the Databricks Extension for VSCode.The AppId for Databricks: 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d
The code I'm using looks like this:
The code works fine for "normal" Azure but fails for Azure China.
With the
az
CLI it works fine:Are you connected to a proxy server? No
The text was updated successfully, but these errors were encountered: