Getting Error Code: 53003 when try to authenticate (Angular 16, angular-oauth2-oidc)

Mareš Petr 20 Reputation points
2023-10-02T07:00:49.08+00:00

Hello I 'm working on migration from MyID Login service to Azure AD.

I have application based on Angular 16, for authentication is used angular-oauth2-oidc V15.0.1 (https://www.npmjs.com/package/angular-oauth2-oidc).

It worked well with MyID Login service.

But now I´m getting this error and dont get tokens:

You do not have access to this.

Your login was successful, but you do not have permission to access this resource.

User's image

In detail I see only:

User's image

No other errors are there.

My code:

User's image

I have checked settings for configuration in aplication, and in administration too.

Tried many changes for responce type, scope ... but no improvement.

Do you have any ideas how to solve this problem?

Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,633 questions
{count} votes

Accepted answer
  1. 2023-10-02T23:28:07.9966667+00:00

    Hello @Mareš Petr , the Entra ID (formerly Azure AD) AADSTS53003 is caused by one ore more Conditional Access policies blocking you from signing in or accessing a resource. In your specific scenario it were 3 policies. For more information or how to avoid facing this issue again please reach one of your tenant admins.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful