question

MDaite-0118 avatar image
0 Votes"
MDaite-0118 asked MDaite-0118 answered

AADSTS65001 persistent error

I configured an app with the below API permissions
![112783-image.png][1]



I have granted admin consent on the Enterprise Application and have tried to grant tenant-wide admin consent as well but I still keep getting this error when I test requesting for a token via Postman.
AADSTS65001: The user or administrator has not consented to use the application with ID 'xxx--xxx-xxx-xxx' named 'xxx'. Send an interactive authorization request for this user and resource
I am Global Administrator of the tenant, and the application is still unverified as it is under testing.

azure-ad-app-consent
image.png (72 B)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MDaite-0118 · Thank you for reaching out. Could you please send the request ID, Correlation ID and Timestamp that you get along with the above error to AzCommunity[at]Microsoft[dot]com with subject ATTN:Amanpreet. I will try to track the information in our backend database and will respond back.

0 Votes 0 ·

Hi Amanpreet, thanks for the quick response. I have sent the required details.

0 Votes 0 ·
amanpreetsingh-msft avatar image
1 Vote"
amanpreetsingh-msft answered

Hi @MDaite-0118 · Thank you for sharing required details.

In the token request, scopes were added as openid+profile+User.Read, which was causing the issue. The scopes must be space separated. Once we replaced + with a space between the scopes, token issued successfully without any error.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MDaite-0118 avatar image
0 Votes"
MDaite-0118 answered

Thank you Aman this solved my issue!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.