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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Question with Authenticating and Scope for API access

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I'm attempting to create an authentication token to use the Dynamics API using Adal.js and DynamicsWebApi node library. When requesting access using my personal user and Adal the output from Adal is 

The user or administrator has not consented to use the application with ID

On the enterprise application I set up I created an API permission to Dynamics–CRM with the "user_impersonation" set to Delegated. But on the Permissions view on the application for the for Security I only see API accesses to Microsoft Graph and no mention of Dynamics. 

 

Is there a scope or endpoint I need to hit in order to grant user access or consent to Dynamics?

Thanks,  

I have the same question (0)
  • Suggested answer
    jeff.morrisvt Profile Picture
    5 on at

    I was able to fix this by creating a consent via Postman: docs.microsoft.com/.../setup-postman-environment and modifying oauth2AllowIdTokenImplicitFlow and oauth2AllowImplicitFlow in the apps manifest.json

  • Joana Pinto Profile Picture
    740 on at

    Hi Jeff,

    Did you try this?

    powerobjects.com/.../

    Regards,

    Joana

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans