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.

In detail I see only:

No other errors are there.

My code:

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.

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.