SOLVED

Azure B2C with Dynamics 365 (CRM) Contacts

%3CLINGO-SUB%20id%3D%22lingo-sub-1278406%22%20slang%3D%22en-US%22%3EAzure%20B2C%20with%20Dynamics%20365%20(CRM)%20Contacts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278406%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20find%20a%20solution%20for%20the%20following%20scenario%3A%3C%2FP%3E%3CP%3EWe%20want%20to%20build%20an%20application%20were%20our%20costumers%20can%20logon%20agains%20Azure%20B2C.%20However%20the%20field%20validation%20(claims)%20has%20to%20be%20agains%20Dynamics%20365%20(CRM)%20contacts.%3C%2FP%3E%3CP%3EI%20managed%20to%20setup%20a%20.NET%20application%20and%20authenticate%20with%20Azure%20AD%20B2C.%20but%20without%20any%20validation%2Fclaims.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%20I%20want%20the%20following%20fields%20to%20be%20validated%3A%3C%2FP%3E%3CUL%3E%3CLI%3EFirstname%3C%2FLI%3E%3CLI%3ELastname%3C%2FLI%3E%3CLI%3ERelationnumber%20(CRM)%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThose%20values%20has%20to%20come%20from%20the%20CRM%20contact%20fields%20and%20need%20to%20match%20the%20users%20input%20when%20singin%20up%2Fin%3C%2FP%3E%3CP%3EI%20am%20lost%20here%20and%20unable%20to%20find%20a%20solution%20for%20this.%3C%2FP%3E%3CP%3EI%20already%20tried%20to%20export%2Fimport%20CRM%20contacts%20in%20Azure%20B2C%20and%20created%20custom%20attributes%20(relationnumber)%20and%20fill%20them%2C%20but%20that%20doesn%E2%80%99t%20seems%20to%20be%20the%20solution.%20Also%20PowerApps%20I%20tried%20to%20create%20a%20Flow%2C%20but%20didn%E2%80%99t%20help%20either.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20if%20I%20am%20trying%20to%20setup%20the%20wrong%20way%2C%20please%20let%20me%20know.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1278425%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20B2C%20with%20Dynamics%20365%20(CRM)%20Contacts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278425%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EWelcome%20to%20the%20MTC!%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20Azure%20community%20is%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcommunities%2Fct-p%2Fcommunities%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure%2Fct-p%2FAzure%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20you%20can%20find%20the%20list%20of%20all%20available%20communities%20by%20clicking%20on%20the%20%22communities%22%20at%20the%20top%20of%20every%20webpage.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcommunities%2Fct-p%2Fcommunities%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcommunities%2Fct-p%2Fcommunities%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1279427%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20B2C%20with%20Dynamics%20365%20(CRM)%20Contacts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1279427%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F607848%22%20target%3D%22_blank%22%3E%40NielsT89%3C%2FA%3E%26nbsp%3BHello!%20You've%20posted%20your%20question%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FCommunity-Discussion%2Fbd-p%2FCommunityQuestions%22%20target%3D%22_blank%22%3ECommunity%20Discussion%20space%3C%2FA%3E%2C%20which%20is%20intended%20for%20discussion%20around%20the%20Tech%20Community%20website%20itself%2C%20not%20product%20questions.%20I'm%20moving%20your%20question%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure%2Fbd-p%2FAzure%22%20target%3D%22_self%22%3EAzure%20space%3C%2FA%3E%20-%20please%20post%20Azure%20questions%20here%20in%20the%20future.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

 

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)
Solution

Hello,
Welcome to the MTC!

The Azure community is here:
https://techcommunity.microsoft.com/t5/azure/ct-p/Azure

and you can find the list of all available communities by clicking on the "communities" at the top of every webpage.
https://techcommunity.microsoft.com/t5/communities/ct-p/communities

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.