Microsoft Azure operated by 21Vianet (Azure China 21Vianet) is a physically separated instance of cloud services located in mainland China.
Questions tagged [azure-china]
28 questions
2
votes
2 answers
How to specify a different AADInstance for a Web API?
I’m working on integrating a Web Api with azure China active directory and deploying to azure china environment. The endpoints are completely different for azure China than the regular azure environment. I want to know how to specify AADInstance…

Venky
- 177
- 3
- 13
1
vote
1 answer
Connect to KeyVault in Azure China
I use this code for Azure KeyVault Service and it works well with a regular Azure
ClientSecretCredential clientCredential = new(options.KeyVaultTenantId, options.KeyVaultClientId, options.KeyVaultClientSecret);
KeyVaultCertificateWithPolicy…

Peter Pedigree
- 65
- 5
1
vote
1 answer
Traffic Manager applies to both Azure Global and Azure China
We have a web app deployed to Azure App Service in Azure Global West US region. It works very well for US users. But, for Chinese mainland users, they are suffering low repsonses due to high latency.
The idea comes to my mind is to deploy the same…

Huodong
- 523
- 8
- 23
1
vote
1 answer
Intagrate China MS Azure Cognitive Services with the Global one for WEB
I am using Global MS Azure cognitive services SDK in WEB application (JavaScript) using websocket connection Speech-to-Text. How can I use Speech-to-Text with credentials for MS Azure China? It has different region at least and different link for…

Анастасия Яцура
- 53
- 4
1
vote
1 answer
Azure B2C in China - Troubleshooting Custom Policy for Local Account Sign-in
I'm trying to set up a very basic custom policy for sign-up/sign-in for Azure B2C in the China region, and my question is about how to debug the sign-in process.
After carefully following the directions at [1] (and adjusting the URLs/tenant IDs for…

SCDev1
- 11
- 2
1
vote
0 answers
Graph API encounter 400 failed to get drive in china
Before a day, the operation works fine.
https://microsoftgraph.chinacloudapi.cn/v1.0/users/{user_id}/drives
Suddenly, it keeps encounter this error:
{
"error": {
"code": "BadRequest",
"message": "Unable to retrieve user's mysite…

吳文喬
- 171
- 1
- 11
1
vote
1 answer
How to download publishsettings file for Azure China Portal
Please let me know how to download the publishsettings file for Azure China from the Web Portal

Vijai
- 2,369
- 3
- 25
- 32
0
votes
0 answers
C# AzureSDK SecretClient how to authenticate against AzureChinaCloud
I am trying to get some secrets from a KeyVault in AzureChinaCloud. I have the following code that is working fine for an AzureCloud KeyVault, however when I change the KeyVault address to one in China it no longer works.
using Azure.Identity;
using…

delucaezequiel
- 483
- 2
- 9
- 26
0
votes
1 answer
Azure Function with Eventhub Trigger fails with "Encountered error while fetching the list of EventHub PartitionIds -> Unauthorized"
There are a couple of stackoverflow posts which have similar issues but none of them have an authorization error problem.
I'm having problems running a Azure function with C# code with an eventhub trigger on Azure China. The same code runs fine on…

Patrick
- 177
- 1
- 8
0
votes
2 answers
Graph API: Upload contents of driveItem throws 501 not_implemented error for AzureChina
I want to update the content of the file on OneDrive item. For that I used this API.
PUT /drives/{drive-id}/items/{parent-id}:/{filename}:/content
This works perfectly fine for non China azure with Microsoft graph…

Sanket Bhurke
- 13
- 2
0
votes
2 answers
Specify proxy for helm repository in terraform for azure china
I am trying to deploy a helm chart via terraform to Azure Kubernetes Service in China. The problem is that I cannot pull images from k8s.gcr.io/ingress-nginx. I need to specify a proxy as described in…

Mark
- 39
- 5
0
votes
0 answers
Azure China: Change tracking is not supported
I am trying to backup Azure china OneDrive using Graph API. I am able to authenticate, enumerate the items. But the request "https://microsoftgraph.chinacloudapi.cn/v1.0/drives/drive-ID-value/root/delta" fails with the following error:
"code":…

user13260866
- 131
- 1
- 2
- 9
0
votes
2 answers
How to get Organization details in AzureChina Region using Microsoft Graph APIs in Postman using Device code Authentication?
Trying get Organization details in AzureChina Region using Microsoft Graph APIs in Postman using Device code Authentication
The Steps I am following are as below in postman
Create Device Code using power-shell client…

Mahesh Surkar
- 1
- 2
0
votes
1 answer
Is it possible to deploy the Web App to Azure China by the Azure DevOps pipeline
So far our team is using Azure DevOps to manage our code and we have created some pipelines to deploy the code to Web App in Azure Global (East Asia).
And now we need to deploy the code to Web App in Azure China.
Azure China is not totally same as…

Ocean Sun
- 81
- 6
0
votes
0 answers
Error 400 while building images with Packer in AzureChina
I am using Packer to build images and upload them to Azure China. Some of the images are built successfully /the docker and consul images/ however the rest, such as the elastic search data and master are giving me the error below once packer build…

yanis
- 303
- 3
- 15