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 :
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

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

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 138

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans