What I want to achieve : We are creating a custom web application, in which we are using azure active directory b2c as identity provider for our clients. So client register there and login into our web app.
But whoever does a signup in b2c is already a contact in our dynamics 365.
My Question is how do I associate b2c signup with existing contact record in dynamics 365.
Let me explain what I have tried so far.
Created an invitation through crm UI (manually). Contact is getting email of invitation in which we customized template ( included our web app url with invitation code automatically generated in it ) .
how to redeem code and that should link/associate/create an external identity.
Please refer to screen shot. I want to achieve like this. But this was done manually (as we can see in the screenshot that external identity is linked to contact. If I login with ‘Stark Ned’ external identity then my app knows which contact in crm it is tied to)
Any help is appreciated.
Thanks in advance
Source: Angular Questions