question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues registering an application in the AAD B2C Portal.

See original GitHub issue

Hello,

Thanks for the sample application. We are having issues getting it to work with our b2c app registration however. We originally followed several tutorials to get our actual application to use authentication with our b2c app registration. But after not getting that to work, we moved to trying to get a sample application working.

Here are several tutorials we’ve followed:

The issue we are running into is that MSAL doesn’t think that our app registration was created via the B2C portal. But we have recreated the app registration over 4 times, all of which are most definitely created in the B2C portal. We’ve used the legacy app registration pages as well as the non-legacy app registration pages. We’ve tried adding platforms for desktop + mobile as well as the android specific platforms. We use the default redirect uri each time (msal<client-id>://auth). The most prevalent error message we’ve gotten is this one:

image

“The provided application with ID <client-id> is not valid against this service. Please use an application created via the B2C portal and try again.”

We’ve done what the error suggests more than enough times to concede and ask for help.

Another thing we’ve tried is using existing signup/signin user flows as well as creating dedicated ones for this mobile app specifically. That doesn’t seem to make a difference.

Other variations of the issue have been the browser never showing any web content as opposed to the error message in the screenshot above. But that was when we had a different app registration created in the exact same way.

We are at a loss with next steps here. Each tutorial we’ve tried has different screenshots of what things look like in the B2C portal due to when those tutorials were written, but we’ve followed each one to a T and keep getting this error or something similar. Can we get some help pointed in the right direction, please?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
jennyf19commented, Feb 18, 2021

I think @nickgmicrosoft would be the one to help here, but feel free to ping me if your personal b2c tenant doesn’t work.

0reactions
nickgmicrosoftcommented, Mar 10, 2021

Closing this issue as the above addressed the “The provided application ID is not valid against this service.” For other inquiries/issues, please open new tickets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New App registrations experience in Azure AD B2C
The new experience shows all Azure AD B2C app registrations and Azure ... AD B2C or the Azure Active Directory services in the...
Read more >
AD B2C Registration App Redirect URI does not Work as it ...
The problem that I am having is that the registration app (that is registered in the parent AD tenant) does not work when...
Read more >
Cannot update AAD App Registration in B2C Tenant after ...
I recently ran into an issue where I could not add Reply Urls to an Azure AD App Registration, which was registered in...
Read more >
The provided application with ID is not valid against this ...
AADB2C90068: The provided application with ID is not valid against this service. Please use an application created via the B2C portal and try...
Read more >
Configure Azure AD B2C for PowerApps Portals
The next step will be to setup the Azure AD B2C Application for our portal. The first thing is to change the directory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found