Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Dynamic 365 Portal with Azure AD B2C - Sign up options

(0) ShareShare
ReportReport
Posted on by 35

Hello,

We are migrating from ADX Studio to D365 CE Portals and in that process we need to use Azure AD B2C for single sign on with Sitecore as CMS.

There are lot of existing users on ADX which we need to migrate to Azure AD B2C and we are struggling with simple approach - 

Option 1 -  is to send Invitation code of Dynamics Portal/CE to users i.e. Registration by Invitation code process (local registration), but the problem with that they will need to register again since they are not available on Azure AD B2C. So question is there anyway we can add then when they accept the invitation by clicking the link to re-register on CE.

Option 2 -  is to register them somehow(I heard Azure AD Graph API can be used) on Azure AD B2C and send initiate forgot password process on Azure AD B2C that will send out email to users to reset the password.

are these any other options that anyone has implemented? If no, could you please send me any material that you may have on these options i.e. document, links or github project or even code.

Thank you

  • ice.blade Profile Picture
    35 on at
    RE: Dynamic 365 Portal with Azure AD B2C - Sign up options

    Hello Adrian,

    Thank you for your response, I really appreciate it....

    If you have noticed that I have mentioned two problems in the question -

    1. Single Sign on with Sitecore -
      I have already configured the D365 CE Portals to use AD B2C and it works as expected perfect, and my colleagues are also working on Sitecore bit.

      But I am not 100% sure that it would work seamlessly due to fact that users need to be redirected to Sign in policy page to get the token, please correct me if I am wrong.

      I have tried this scenario with simple ASP.NET MVC site using Azure AD B2C and Portal using same Azure AD B2C, and found that even if user is signed in either in portal or in asp.net MVC site, their claim id or token is not picked up by the current page(i.e. when page manually refreshed) and users will have to be navigated to Sign in policy page to reflect that user is already signed in.

      So if anyone has tried Single Sign On with D365 CE Portals and any ASP.NET MVC or any web site, please share your experience.

    2. Migrating/Registering existing users/contacts to Azure AD B2C - 
      And this issue which is registering existing users/contacts to Azure AD B2C which can be addressed by registering them on Azure AD B2C using Azure AD Graph API as part of data migration process however their password are not being migrated as ADX uses password and salt for the password and in my experience it is not always 100% perfect for more than 6000 users. 

      One of the approach I found on internet was to register the existing user/contacts as part of data migration using Azure AD Graph API and initiate forgot password process on B2C because Portals invitation code is irrelevant since we are using B2C and not local logins of CE.

    Another point, I noticed that when I am configuring B2C on Portal for identity management I think Portal or CE should offer invitation code process to hook into B2C and not just keep it to CE specific, because it becomes really useless if I am using Azure AD B2C for my primary identity management. Microsoft are you listening!!

    If anyone has any idea or anything that I have highlighted, it would be great help....

    Thank you,

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: Dynamic 365 Portal with Azure AD B2C - Sign up options

    Hi ice.blade,

    I do not know very much about Sitecore, but you can find information on Azure AD B2C provider settings for portals here.

  • ice.blade Profile Picture
    35 on at
    RE: Dynamic 365 Portal with Azure AD B2C - Sign up options

    anyone any ideas? what might work or anything that is similar to this situation? anything??

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans