Issues registering an application in the AAD B2C Portal.
See original GitHub issueHello,
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:
- https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-net-aad-b2c-considerations
- https://www.youtube.com/watch?v=lqfsKtoLHMQ&ab_channel=MattBurrell
- … (we’ve followed more, but probably not necessary to list them all here)
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:
“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:
- Created 3 years ago
- Comments:19
Top GitHub Comments
I think @nickgmicrosoft would be the one to help here, but feel free to ping me if your personal b2c tenant doesn’t work.
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.