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

Navneet 1 Reputation point
2021-04-16T11:13:43.477+00:00

I have created application Blazor server application in visual studio 2019.

Which used Azure Ad B2C authentication.

But i have received below error when going to login.

Sorry, but we're having trouble signing you in.
We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, please try again.
Correlation ID: XXXXXXXXXXX
Timestamp: 2021-04-16 10:55:01Z
AADB2C90068: The provided application with ID 'XCXCXCXCCXCCCXC' is not valid against this service. Please use an application created via the B2C portal and try again.



 
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,396 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,652 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 34,046 Reputation points Microsoft Employee
    2021-04-16T19:43:21.377+00:00

    This error means that you registered the app under Azure AD rather than Azure AD B2C. Even though you can see the app under Azure AD B2C, it doesn't mean you created it there.

    You should navigate to Azure AD B2C to register the application. If you don't already have a B2C tenant, you can create one.

    88669-image.png

    1 person found this answer helpful.