Microsoft Entra ID
Authentication

Add Microsoft Entra ID for customer sign-in

In brief

The documentation now specifies tenant ID or the tenant’s onmicrosoft.com domain for the issuer URI, says custom verified domains aren’t supported, and requires matching onmicrosoft.com values for domain_hint. It also documents steps to refresh a user flow after provider configuration changes.

What Entra admins need to know

Review affected identity provider configurations, correct unsupported issuer or domain_hint values, and refresh user flows after changes.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

|---------|-------| | Display name | A name your users see during sign-in, for example Sign in with Contoso. | | Well-known endpoint | https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration | | OpenID Issuer URI | https://login.microsoftonline.com/<tenant-ID>/v2.0, where <tenant-ID> is the directory (tenant) ID of the Microsoft Entra ID tenant. If using domain_hint for IdP acceleration, use the domain-based issuer formattenant, or https://login.microsoftonline.com/<domain-name>/contoso.onmicrosoft.com/v2.0 rather than tenant ID,, where <domain-name>contoso.onmicrosoft.com is the primary domain name oftenant's onmicrosoft.com domain. If you use domain_hint, use the Microsoft Entra ID tenant.corresponding onmicrosoft.com domain-based issuer. See the known limitation and Use domain_hint guidance below. | | Client ID | The application (client) ID from the app registration you created in the Microsoft Entra ID tenant. | | Client Authentication | client_secret | | Client Secret | The client secret value you recorded from the app registration. | | Scope | openid profile | | Response type | code |

Enable users to sign in and sign up with the identity provider

After you configure the Microsoft Entra ID identity provider, there are multiple ways to enable users to sign in and sign up:

Add the identity provider to a sign-up and sign-in user flow

Use domain_hint

To accelerate sign-in to the Microsoft Entra ID identity provider, pass the tenant's domain name in the domain_hint parameter. For example, use domain_hint=contoso.onmicrosoft.com. Don't use the tenant ID (GUID) as the domain_hint value.

When you use domain_hint, configure the OpenID Issuer URI with the corresponding onmicrosoft.com domain. For example, for domain_hint=contoso.onmicrosoft.com, use https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0.

Enable users to sign in and sign up with the identity provider

After you configure the Microsoft Entra ID identity provider, there are multiple ways to enable users to sign in and sign up:

Add the identity provider to a sign-up and sign-in user flow to allow sign-in and sign-up with the identity provider. See Add an identity provider to a user flow. An external user can then self-register in the External ID tenant. When the user selects the federated Microsoft Entra ID identity provider on the sign-in page and authenticates with their organizational account, a user account is automatically created in the external tenant.

Create the user with Microsoft Graph API

An admin can use the Microsoft Graph API

Create the user with Microsoft Graph API

An admin can use the Microsoft Graph API to create a user directly in the External ID tenant. This approach is useful for automated provisioning or migration scenarios.

The email claim is required for External ID federation scenarios. Make sure the email claim is included in the application's Token configuration in the Microsoft Entra ID tenant used as the external identity provider.

I configuredMy Microsoft Entra ID as my federated identity provider, but itprovider doesn't appear on the sign-in page.page, or domain_hint doesn't redirect to it. What should I check?

Verify that the issuer URI and well-known OpenID configuration endpoint are correctly configured. An incorrect issuer or discovery endpoint prevents the identity provider from appearing during sign-in. Also check that:

  • The Microsoft Entra ID tenant is fully configured as a custom OIDC identity provider.
  • Required redirect URIs, issuer values, and scopes are present and correct.
  • The identity provider is added to the user flow, not just to the tenant.
  • Configuration changes have fully propagated. Re-savingThe OpenID Issuer URI uses either the Microsoft Entra ID tenant ID (GUID) or recreatingthe tenant's onmicrosoft.com domain. Currently, other verified custom domains aren't supported for the issuer URI.
  • If you use domain_hint, specify the tenant's domain name rather than its tenant ID. For example, use domain_hint=contoso.onmicrosoft.com with the corresponding issuer URI https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0.
  • If you changed the issuer or identity provider configuration after adding the provider to a user flow, refresh the user-flow configuration. Remove the identity provider from the user flow after configuration changes often resolves this issue.flow, save the flow, add the identity provider again, and save before retesting. See Add the identity provider to a user flow for the refresh steps.

What does the error AADSTS500208: The domain is not a valid login domain for the account type mean?

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…