Managing external identities to enable secure access for partners, customers, and other non-employees
The supported first-sign-in auto-provisioning path in an external tenant is the sign-up and sign-in user flow with the federated identity provider enabled in that user flow. When a user selects the federated Microsoft Entra ID identity provider on the sign-in page and successfully authenticates, a user account is automatically created in the external tenant.
For the specific behavior when local sign-up is disabled:
- Intended mechanism
- Yes. Sign-in-time creation through the user flow is the documented mechanism for federated users.
- However, if sign-up is disabled, current behavior does not allow automatic creation of users from federated identity providers. In that configuration, setting
isSignUpAllowedtofalseprevents both local sign-up and automatic creation of external users through the federated IdP. - So, the requirement as stated is not supported with sign-up disabled.
- When user creation does not occur
- The context supports one explicit case: when sign-up is disabled, federated first sign-in does not create the user.
- The context does not provide supported rules for other collision or lifecycle cases such as:
- same email already existing as a B2B external user
- previously soft-deleted user objects
- The only documented alternatives for creating users outside sign-in-time creation are:
- self-registration through the user flow
- admin or automation-based creation through Microsoft Graph API
- Identifier-first instead of clicking the IdP button
- The supported user-flow model is that identity providers are explicitly added to the user flow and appear on the sign-in page as selectable options.
- The context states there is no first-class home realm discovery in External ID user flows and that silent discovery of the correct IdP based on email domain is not supported today.
- So there is no supported way in user flows to get the same auto-provisioning by having the user type an email on an identifier-first page and then automatically route to the correct custom OIDC provider.
Supported options from the context:
- If federated first-sign-in auto-creation is required, keep the federated IdP enabled in the sign-up/sign-in user flow and do not disable sign-up in a way that blocks account creation.
- If sign-up must remain disabled, the supported alternative is to create users ahead of time with Microsoft Graph API.
- If a custom UX is used, domain-based routing can be implemented in the application UI, but federated sign-in for these providers still relies on the browser-based flow and does not change the platform limitation around disabled sign-up.
References:
- Add a Microsoft Entra ID tenant as an OpenID Connect identity provider
- Create a sign-up and sign-in user flow for an external tenant app
- Identity providers for external tenants
- Entra External ID - Disable Local Signup while supporting Custom Identity Provider user creation - Microsoft Q&A
- Opinions on Entra security architecture for SaaS - Microsoft Q&A