# Multi domain extension and Azure AD Connection

**URL:** <https://community.auth0.com/t/multi-domain-extension-and-azure-ad-connection/6491>\
**Category:** Get Help\
**Tags:** multi-domain-extensi\
**Created:** [May 4, 2017, 11:45pm UTC](https://community.auth0.com/t/multi-domain-extension-and-azure-ad-connection/6491 "2017-05-04T23:45:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsalomon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@jsalomon](https://community.auth0.com/u/jsalomon)\
**Post date:** [May 4, 2017, 11:45pm UTC](https://community.auth0.com/t/multi-domain-extension-and-azure-ad-connection/6491/1 "2017-05-04T23:45:15Z")

</div>

I have some trouble with Azure Ad Connection.

In my example I have 3 domains name:

- [domain.com](http://domain.com)
- [domain.fr](http://domain.fr)
- [domain.de](http://domain.de)

These 3 domains are different and are declared as well in Azure / Office365.

When we configure first:

1. [domain.com](http://domain.com) → domain-waad OK , fine the first is configured and ready to use
2. [domain.fr](http://domain.fr) → domain-waad NOK, the id become automatically the same as first and the system refuse to create it.
3. same thing

Is there anyone who solved or skirted this issue ?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [May 9, 2017, 4:14pm UTC](https://community.auth0.com/t/multi-domain-extension-and-azure-ad-connection/6491/2 "2017-05-09T16:14:10Z")

</div>

You can try to create the connection through the Management API v2 [create connection endpoint](https://auth0.com/docs/api/management/v2#!/Connections/post_connections) as that allows you to specify the name of the connection and as such you may be able to bypass the issue caused by the auto-generation of the name when creating the connection through the Dashboard.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/multi-domain-extension-and-azure-ad-connection/6491/3 "2018-03-02T05:53:42Z")

</div>


