Skip to main content

Notifications

Announcements

No record found.

Customer Service forum

Dynamics 365 on-Premise Web API : Authentication Issue

Posted on by

I wanted to access Dynamics CRM 365 (on-premise ) web API . 

I have registered Client App using below steps & given permissions as well on our ADFS.

https://msdn.microsoft.com/sl-si/library/dn531010(v=crm.7).aspx

After that, I have given permission using following command:

Grant-AdfsApplicationPermission -ClientRoleIdentifier “clientid” -ServerRoleIdentifier “Dynamics URL” -ScopeNames openid

When I try to access API , I am getting "Invalid User authorization" although from browser I am able to access WebAPI but through Code(C#) I am not able to get. This only occurred after we renewed certificate.

anyone to help me here ?

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Dynamics 365 on-Premise Web API : Authentication Issue

    This thread may be helpful.

    community.dynamics.com/.../70374

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