I've created a custom web application which interacts with my Dynamics customer service portal via an Azure WebAPI. CRUD operations are performed by a non interactive 'application user'.
Authentication to the web app is provided by Azure AD B2C. When a user creates an B2C account, the application user creates a matching contact in Dynamics.
Could anyone offer advice on how I can relate the Azure B2C record with the Dynamics contact? I know using Dynamics Portals this can be configured, but, how would I perform the same operation for my custom application?