How to resolve the issue "Unable to resolve app registration name from registered app ID" under Function App

Paul 15 Reputation points
2023-02-04T16:29:15.6933333+00:00

I have been following this guide to create a web app.

https://learn.microsoft.com/en-us/azure/api-management/howto-protect-backend-frontend-azuread-b2c

I have no issues creating a B2C tenant, the backend / frontend applications, and the user flow.

All have been created successfully under AD B2C.

Next, I created a Function App under my main account. When I'm add a "Microsoft Identity Provider" Under Authentication of the Function App, I encountered the error "Unable to resolve app registration name from registered application ID". My question is: is there any setting I may have missed in configuring the link between the B2C tenant to my main subscription tenant? Any policies / authentication steps I may have missed?

User's image

When creating the Microsoft Identity Provider, here's where I have found the information:

  1. application (client) ID: I obtained this value from the backend application created under B2C
  2. client secret value: the secret value after creating a secret ID and value pair under "Certificates and Secrets" under the same web app in B2C
  3. Issuer URL: the URL as appear at the top after clicking on the "run user flow" in the User Flow page under the same web app in B2C
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,381 questions
{count} votes