An Azure service that provides hosted, universal storage for Azure app configurations.
We identified the root cause of the AADSTS50020 error: the user flow's isSignUpAllowed property (under onInteractiveAuthFlowStart) was set to false. Since this flag blocks first-time account creation/provisioning for the entire flow, it was also preventing just-in-time provisioning for users signing in via our federated (OIDC) identity provider — even though they authenticate successfully at the federated IdP first. Setting isSignUpAllowed to true resolved the sign-in failure.
However, this flag applies to the whole user flow, not per identity provider. Our flow has two identity providers attached: a local email/password option and our federated OIDC provider. With isSignUpAllowed: true, we've now also re-opened local self-service sign-up, meaning anyone can self-register a new account with any email address — which we don't want.
Question: What is Microsoft's advised approach for allowing first-time provisioning for a federated identity provider only, while keeping local self-service sign-up disabled, within a single external tenant? We're considering splitting this across two separate applications and two user flows (one default flow with sign-up disabled containing both IdPs, and a second flow scoped only to the federated IdP with sign-up enabled), since we understand a tenant can host multiple flows but an application can only be assigned to one.
That said, we don't expect this two-app/two-flow split to be the advised approach — it would introduce meaningful ongoing overhead (maintaining a second app registration, its own secret rotation/renewal, separate consent/permissions management, etc.) for what is conceptually a simple per-identity-provider sign-up restriction. Is there a more lightweight, supported way to restrict sign-up to a specific identity provider within a single flow/application?