web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Portal login using Azure AD How?

(0) ShareShare
ReportReport
Posted on by 135

Hi

I am new to CRM portals and adding to that is the requirements to authenticate the B2C users using Azure AD bypassing the Portal login and registration pages.

My infrastructure team went ahead and registered the portal in Azure AD and gave me URLs from Azure. Now I need to configure the portal.

My requirement: The B2C user when they come into the site they need to be prompted with Azure AD Signin screen using the url provided by Azure, Once they enter the credentials using facebook or google or .... account they need to be logged in successfully into the portal and defaulted to the portal URL (https://ssqa.microsoftcrmportals.com/Order-Process/) without any other logins. What configuration is needed to achieve this.

My Portal URL: https://ssqa.microsoftcrmportals.com/Order-Process/

Azure AD Information:

B2C(External users):
---------------------------
Application id:5b3e5027-2b23-4099-b22f-289796d544b1

Policy Name: B2C_1_AuthBridge

URL for the login page to be generated:
https://loginqa.abc.com/abcB2C.onmicrosoft.com/oauth2/v2.0/authorize?p=B2C_1_AuthBridge&client_id=5b3e5027-2b23-4099-b22f-289796d544b1&nonce=defaultNonce&redirect_uri=https%3A%2F%2Fssqa.microsoftcrmportals.com%2FOrder-Process%2F&scope=openid&response_type=id_token&prompt=login

When I click the above url it opens up sign in page and I enter the facebook credentials. It redirects to a sing page of CRM portal with a long tokenid https://ssqa.microsoftcrmportals.com/SignIn?ReturnUrl=%2FOrder-Process%2F#id_token=eyJ0eXAiOiJ.......... It is not skipping the portal login page. I am missing some configuration. What is that I am missing.

Final goal is to remove the signin and registration pages from CRM Portal and authenticate with Azure AD.

Thanks for all your help

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    M I Mostafa Profile Picture
    4,257 on at

    Hi there,

    Have a look at this post:

    community.dynamics.com/.../dynamics-365-portal-authentication-with-external-identities-part-i-authentication-with-azure-active-directory

    It explains what configuration you need to do.

    Hope this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans