Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

ADAL error occurred: AADSTS65001 ....

Posted on by 240

ADAL error occurred: AADSTS65001: The user or administrator has not consented to use the application with ID '26c7cc3b-1f88-4532-a23c-6171706b1799' named 'WebApiCall2'. Send an interactive authorization request for this user and resource. Trace ID: a56048da-4569-47dd-a88a-deac890e4200 Correlation ID: cf6ea0cf-4524-4d63-a47e-085d89983cf3 Timestamp: 2018-08-19 03:05:50Z..

I followed the  given link,

https://debajmecrm.com/2016/02/23/dynamics-crm-cross-origin-resource-sharing-external-application-cors/

I am able to Login in AD,but when i try to access the account ...I am getting above  error.ADAL-Authorization.png

Please help me what is wrong ...

I am using online dynamics 365 trail version ...MS CRM trail version 9.0

  • Suggested answer
    Nishant Rana Profile Picture
    Nishant Rana 55 Microsoft Employee on at
    RE: ADAL error occurred: AADSTS65001 ....

    This might help

    nishantrana.me/.../

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: ADAL error occurred: AADSTS65001 ....

    Hi,

    If you are not able to login to browser then you won't be able to login programmatically. As per the error message, the user doenst exists in the oranization however if I look closely it is showing the org name as atest which is different then you are trying to login (reactiontest). So this error looks like due to cache. Try it in different browser and see if you still get this error.

    Hope this helps.

  • Sairam89 Profile Picture
    Sairam89 240 on at
    RE: ADAL error occurred: AADSTS65001 ....

    ApplicationUserLogin.png

    No ,I am try to login into ms crm ...it is showing following error ...

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: ADAL error occurred: AADSTS65001 ....

    Are you able to access crm from browser with this user.? Have you assigned a role?

  • Sairam89 Profile Picture
    Sairam89 240 on at
    RE: ADAL error occurred: AADSTS65001 ....

    Hello Ravi Kashyap,

    I am logined with system admin it is working ....i created new user ....I am facing  issue with new user...

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: ADAL error occurred: AADSTS65001 ....

    Hi,

    When you ran this, did you get the pop up to enter the user credentials? Check the below link if it helps-

    www.koskila.net/.../how-to-fix-admin-consent-issues-aadsts65001

    I got the similar error once and after running the sample from sdk (SDK\SampleCode\CS\ModernAndMobileApps\ModernOdataApp) the app started working fine.You need to change the crm url, credentials in the app.

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans