Azure China Cloud

Hi there,

I cannot connect Ansible to AzureChinaCloud, is there any manual o can someone help me with that issue ?

I know that authentication site, servers are different than the other Azure instances.

For normal user https://portal.azure.com
For china cloud https://portal.azure.cn

Accounts are separate to.

Is there way to connect to China Cloud or where can i find option like -e parameter from azure-cli (azure login -e AzureChinaCloud)

Thanks

There isn’t currently a way to override the built-in Python SDK endpoints from the Ansible azure_rm_* modules to use the China Cloud ones. I see where it could be done via the Python SDK, so we could add that support in azure_rm_common. I’ve created a feature idea for it: https://github.com/ansible/ansible/issues/17925 - no guarantees on when it might be implemented…