EntraID external tenant - OIDC federation with another idp - domain_hint not honored

Martin Kallukalam 555 Reputation points
2025-09-08T02:24:16.9766667+00:00

Scenario
Az Entra ID external tenant

Federation with another idp (Auth0) with OIDC .
I am able to sign in using a user on idp to an app registration (SPN).
During sign up it presents the MS login screen where you enter email and it does home realm discovery and directs to the Idp. So far working great.
However if I do a domain_hint it doesnt bypass the Home realm discovery and direct straight to Idp.
If I am using SAML as protocol to federate with Idp , domain_hint works perfect.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID

2 answers

Sort by: Most helpful
  1. Parthasarathy K 0 Reputation points
    2025-11-06T16:37:47.77+00:00

    Hello Praveen,

    regards to this issue, we have created a separate tenant/directory for federating with external IdP. We thought if we remove "Email with Password" and "Email one-time passcode" and then add the external idp it would redirect. But i am able to remove the Email one-time passcode from the userflow but not "Email with Password".Can you help us to remove "Email with Password" from our tenant if its possible? Also kindly let us know what's the solution for this issue as we are not able to redirect to the external idp.

    Was this answer helpful?


  2. Anonymous
    2025-09-22T10:53:06.89+00:00

    Hi Martin Kallukalam,

    Thank you for posting your query on Microsoft Q&A.

    In Microsoft Entra ID, when federating with an external IdP using OpenID Connect (OIDC), the domain_hint parameter is intended to help direct users efficiently to their federated sign-in page. However, as of now, when used in external tenant OIDC federation flows, the domain_hint parameter does not bypass the Home Realm Discovery (HRD) screen and will not automatically redirect users to the IdP. This differs from SAML federation, where domain_hint works as expected and enables direct redirection to the external IdP’s sign-in page.

    This limitation is documented in Microsoft’s current preview support for custom IdPs over OIDC in Entra External ID. It is a known product behavior, and Microsoft is working to improve this experience in future releases.

    • Home Realm Discovery (HRD) policies and auto-acceleration settings may influence redirection behavior, but with OIDC, domain_hint currently cannot force direct IdP routing in external tenant scenarios.
    • SAML federation continues to support seamless domain_hint-based routing to IdPs.

    Please refer to: Home Realm Discovery policy for an application

    Please "Accept as Answer" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.