Managing external identities to enable secure access for partners, customers, and other non-employees
Entra External ID: "Forgot password" for an email not in our external tenant redirects the user to their organisation's own tenant
We have a Microsoft Entra external tenant, with a single-tenant app registration (supported account types: my organisation only). The UI app signs in using the tenant's ciamlogin.com authority.
Our setup:
- Users are created by our own application, not through self-service sign-up. We do not want anyone to be able to sign up themselves.
- We currently have no user flows configured.
The problem:
If someone tries to reset their password using an email address that is NOT a user in our tenant, but whose domain belongs to another Entra tenant (for example ******@contoso.com, where contoso.com has its own Entra tenant), they are redirected to that organisation's own tenant to reset their password. We would like this not to happen. Ideally an unknown address would simply fail or get a generic message inside our tenant, with no hand-off to another tenant.
What we have looked at:
In Custom Branding > Default sign-in > Sign-in form, there is a Self-service password reset section. With "Show self-service password reset" enabled, there is a "Common URL" field. Adding "https://passwordreset.microsoftonline.com/?whr=<tenant name>.onmicrosoft.com" to this field does nothing to fix this issue.
Question
Is the redirect to the user's home tenant expected behaviour for external tenants when the email domain belongs to another Entra tenant? If so, is there any supported way to prevent it?
Thanks