This error means it need either admin or user consent
to add admin consent
go to application
then API permissions
select Grant admin consent
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am going to tenant to tenant migration by bititan. For the modern authentication, I have registered a new app registration in Azure AD. I am getting this error:
our migration failed while checking destination credentials. AADSTS65001: The user or administrator has not consented to use the application with ID 'xxxxxxxxxx' named 'MYAPP'. Send an interactive authorization request for this user and resource. Trace ID: xxxxxxxxxxxxxxxxxx Correlation ID: xxxxxxxxxxxxxxxxxxxx Timestamp: 2023-01-11 10:37:54Z
Can you give me any tip to resolve this issue?
I had followed these steps: (Please find snapshots)
This error means it need either admin or user consent
to add admin consent
go to application
then API permissions
select Grant admin consent
Thank you for your detailed post and I apologize for the delayed response!
Error Message:
AADSTS65001: The user or administrator has not consented to use the application with ID 'xxxxxxxxxx' named 'MYAPP'. Send an interactive authorization request for this user and resource. Trace ID: xxxxxxxxxxxxxxxxxx Correlation ID: xxxxxxxxxxxxxxxxxxxx Timestamp: 2023-01-11 10:37:54Z
From your error message, this usually occurs when you missed granting admin consent to the added scope while retrieving an access token. As shown in your second screenshot, it looks like you added the API permission EWS.AccessAsUser.All
, and needed to Grant admin consent.
To resolve your issue, please make sure you grant admin consent:
I hope this helps!
Additional Links:
If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.