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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans