Anthony Cuartero
Anthony Cuartero

Reputation: 113

Azure AD: Your sign-in was successful but you don't have permission to access this resource

I created an account on Azure Active Directory.

It works fine on my end and can able to login using the account I recently created.

I send the test account to the other user which is based on UK and it showing an error below.

I am residing in PH, and he is residing in UK.

Your sign-in was successful but you don't have permission to access this resource enter image description here

Below is the API Permission on our App Registration in Azure AD.

enter image description here

Anyone knows on what particular settings do I need to change anything?

Upvotes: 2

Views: 20720

Answers (1)

Jahnavi
Jahnavi

Reputation: 8018

Azure AD: Your sign-in was successful but you don't have permission to access this resource:

  • From Azure AD through portal, get to  Security > Conditional Access > Named locations.

  • Try adding a new location.

  • If you know the precise IPv4 address ranges that make up that country or region, you can add them as IP ranges for that particular country/region and save it.

    Note:- Adding unknown areas is an option if you select Countries/Regions.

enter image description here

References:

  1. MSDoc
  2. You can also create a conditional access policy as per industry standards Steps to achieve the same.

Upvotes: 0

Related Questions