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 ?