# Updating domain alias for Azure AD via Management API

**URL:** <https://community.auth0.com/t/updating-domain-alias-for-azure-ad-via-management-api/9152>\
**Category:** Get Help\
**Tags:** azure-ad, management-api, lock\
**Created:** [January 8, 2018, 8:55pm UTC](https://community.auth0.com/t/updating-domain-alias-for-azure-ad-via-management-api/9152 "2018-01-08T20:55:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geir.sagberg](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geir.sagberg/32/3890_2.png) [@geir.sagberg](https://community.auth0.com/u/geir.sagberg)\
**Post date:** [January 8, 2018, 8:55pm UTC](https://community.auth0.com/t/updating-domain-alias-for-azure-ad-via-management-api/9152/1 "2018-01-08T20:55:32Z")

</div>

I have a multi tenant application, and will be adding tenants programmatically. I am using both Username / Password connection and Azure AD connection. Tenants will be added to Azure AD connection (using Azure AD Multi Tenant).

I am using Hosted Login Page, with automatic detection of Azure AD based on email domain. I want to avoid having to manually update Domain Aliases whenever a new tenant is added to Azure AD. Is there a way to do this via the mgmt. API?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 5:26pm UTC](https://community.auth0.com/t/updating-domain-alias-for-azure-ad-via-management-api/9152/2 "2018-12-14T17:26:53Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 5:26pm UTC](https://community.auth0.com/t/updating-domain-alias-for-azure-ad-via-management-api/9152/3 "2018-12-14T17:26:57Z")

</div>


