Hi team,
We’re implementing a B2B multi-tenant architecture using Auth0 Organizations and Microsoft Azure AD Enterprise Connections.
Our goal is to restrict a specific Azure AD connection (e.g., tied to a customer’s tenant) so that it is only usable by one specific organization in Auth0.
We want to ensure that:
- The Azure AD connection is not globally available.
- Only users who initiate login through the specific organization login flow can authenticate using this connection.
- The application should enforce the use of the
organization
parameter.
Questions:
- What is the correct way to assign and restrict an Azure AD Enterprise connection to a specific organization?
- Can we ensure that this connection does not appear or function outside the context of that organization?
- Should we disable the connection at the application level and only allow it via organization assignments?
We’ve already enabled “Users must log in through an organization” in the app settings.
Appreciate any best practices or configuration tips!
Thanks in advance.