# Azure China Cloud

**URL:** <https://forum.ansible.com/t/azure-china-cloud/22732>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [October 6, 2016, 5:01pm UTC](https://forum.ansible.com/t/azure-china-cloud/22732 "2016-10-06T17:01:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maciek\_Dolny](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Maciek\_Dolny](https://forum.ansible.com/u/Maciek_Dolny)\
**Post date:** [October 6, 2016, 5:01pm UTC](https://forum.ansible.com/t/azure-china-cloud/22732/1 "2016-10-06T17:01:56Z")

</div>

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](https://portal.azure.com)  
For china cloud [https://portal.azure.cn](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

---

<div class="post-metadata">

**Author:** ![Matt\_Davis](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Post date:** [October 6, 2016, 5:22pm UTC](https://forum.ansible.com/t/azure-china-cloud/22732/2 "2016-10-06T17:22:44Z")

</div>

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](https://github.com/ansible/ansible/issues/17925) - no guarantees on when it might be implemented…
