Custom domain name for B2C Authentication

BM 46 Reputation points
2023-03-19T09:10:05.6166667+00:00

hello there,

I just wanted to confirm something, after adding a custom domain to AD for a B2C tenant authentication page can we use a custom domain name directly like "login.example.com" to land on exact B2C login page?

I have followed below URL:

https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-domain?pivots=b2c-custom-policy

but it does not specify that I can use directly domain name to land on the B2C authentication page. Instead, I always needed some parameter in the URL after the domain name to land on the login page.

Any thoughts?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,632 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,350 questions
0 comments No comments
{count} votes

Accepted answer
  1. Patchfox 3,291 Reputation points
    2023-03-19T10:14:14.95+00:00

    Hi BM, I hope I can help you with this question.

    Can you show the section in the linked documentation where you assume more parameters need to be specified?

    To my knowledge, there should be no problem with you using a URL such as "login.customerDomain.com".

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-domain?pivots=b2c-custom-policy#:%7E:text=During%20DNS%20resolution%2C%20a%20canonical%20name%20(CNAME)%20record%20with%20a%20custom%20domain%20name%20points%20to%20your%20Front%20Door%20default%20front%2Dend%20host%20(for%20example%2C%20contoso%2Dfrontend.azurefd.net).

    ...During DNS resolution, a canonical name (CNAME) record with a custom domain name (eg. login.customDomain.com) points to your Front Door default front-end host (for example, contoso-frontend.azurefd.net)....


    If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful