web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

AADSTS65001: The user or administrator has not consented to use the application

(0) ShareShare
ReportReport
Posted on by

AADSTS65001: The user or administrator has not consented to use the application with ID '******************************'. Send an interactive authorization request for this user and resource. I am getting this while authenticating to CRM azure active directory app registration, then i need to get data from CRM API through SharePoint online. Any help would be greatly appreciated.

Thanks,

Satya

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    I did this some time ago. When you call and API method on Azure that integrates with an application, the API runs through the authentication process, but the user must have provided consent before that.

    Since the API does not have the user interface, you get this problem.

    What you need is to have you application, redirect to the API site for the first time, so that the user can click I accept on the consent form, and after that initial time, they will be able to access the API without getting this error.

    We had this scenario in an iOS application. Call the API. If you receive this error, redirect the user to the site UI, and let then sign the consent. After consent is signed, close the window, and call the API again. It should work then.

  • Suggested answer
    Nishant Rana Profile Picture
    11,325 Microsoft Employee on at

    This might help

    nishantrana.me/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans