Auth0 Home Blog Docs

Updating domain alias for Azure AD via Management API



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?