Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AADB2C90068: The provided application with ID is not valid against this service. Please use an application created via the B2C portal and try again

We have created Userflow policy(SignUp and SignIn) for the user authentication in Azure B2C tenant. When we try to run the user flow, we are unable to see our application in the list of application configured. When we try to hit the Azure B2C authorization endpoint provided on application basis, we are getting the following error AADB2C90068: The provided application with ID 'xxx-xx-xxx' is not valid against this service. Please use an application created via the B2C portal and try again.

like image 300
Rakesh Rajagopal Avatar asked Dec 02 '19 05:12

Rakesh Rajagopal


People also ask

Is the aadb2c90068 application with ID valid against this service?

AADB2C90068: The provided application with ID is not valid against this service. Please use an application created via the B2C portal and try again Ask Question Asked2 years, 1 month ago

Why doesn't the application with ID'{0} work?

The provided application with ID ' {0}' is disabled for the tenant ' {1}'. Please enable the application and try again. The application with ID ' {0}' cannot get an ID token either because the openid scope was not provided in the request or the application is not authorized for it.

Why doesn't the application with ID {0} get an ID token?

The application with ID ' {0}' cannot get an ID token either because the openid scope was not provided in the request or the application is not authorized for it. The orchestration step ' {0}' does not specify a CpimIssuerTechnicalProfileReferenceId when one was expected.

What errors can be returned by the Azure Active Directory B2C service?

The following errors can be returned by the Azure Active Directory B2C service. The CORS resource ' {0}' returned a 404 not found. The redirect URI ' {0}' provided in the request is not registered for the client id ' {1}'.


2 Answers

You have registered the app under Azure AD rather than Azure AD B2C.

You should navigate to Azure AD B2C to register it. If you don't have an B2C tenant, just create it.

enter image description here


Update:

Although you can see the app under Azure AD B2C, it doesn't mean you created it here.

An app registered in Azure AD will be shown under Azure AD B2C - App registrations (Preview) as well.

Besides, if you registered the app in Azure AD B2C, you should choose Accounts in any organizational directory or any identity provider. Choose this to authenticate with Azure AD B2C. when you created it. Otherwise it won't be shown in B2C User Flow.

enter image description here

like image 152
Allen Wu Avatar answered Sep 20 '22 15:09

Allen Wu


This doesn't have to relate to Azure AD as I'd created mine in B2C. You do have to select the following

1 Note: I had to delete and recreate the registration as selecting this option, after having selected the first option initially, did not work

like image 22
72GM Avatar answered Sep 21 '22 15:09

72GM