Azure B2C with Dynamics 365 (CRM) Contacts

New Contributor



I am trying to find a solution for the following scenario:

We want to build an application were our costumers can logon agains Azure B2C. However the field validation (claims) has to be agains Dynamics 365 (CRM) contacts.

I managed to setup a .NET application and authenticate with Azure AD B2C. but without any validation/claims.


For example I want the following fields to be validated:

  • Firstname
  • Lastname
  • Relationnumber (CRM)

Those values has to come from the CRM contact fields and need to match the users input when singin up/in

I am lost here and unable to find a solution for this.

I already tried to export/import CRM contacts in Azure B2C and created custom attributes (relationnumber) and fill them, but that doesn’t seems to be the solution. Also PowerApps I tried to create a Flow, but didn’t help either.


Also, if I am trying to setup the wrong way, please let me know.


Thank you!


2 Replies
best response confirmed by NielsT89 (New Contributor)

Welcome to the MTC!

The Azure community is here:

and you can find the list of all available communities by clicking on the "communities" at the top of every webpage.

Thanks @HotCakeX 


@NielsT89 Hello! You've posted your question in the Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Azure space - please post Azure questions here in the future.