How to resolve the issue "Unable to resolve app registration name from registered app ID" under Function App
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?
When creating the Microsoft Identity Provider, here's where I have found the information:
- application (client) ID: I obtained this value from the backend application created under B2C
- 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
- 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