Unable Connect Dynamic CRM using ADF Linked Service

Prapul Kumar Dongari 116 Reputation points
2023-07-06T11:43:28.4466667+00:00

Hi team while i was connecting to dynamic365 using adf service principle option getting following error

Failed to connect to Dynamics: Unable to Login to Dynamics CRM: Invalid Login Information : The HTTP request was forbidden with client authentication scheme 'Anonymous'.

The HTTP request was forbidden with client authentication scheme 'Anonymous'. => The remote server returned an error: (403) Forbidden.Unable to Login to Dynamics CRM

Unable to Login to Dynamics CRM

The creator of this fault did not specify a Reason.

Activity ID: d16c0671-b817-4f4b-aa50-023e1f06e27d.

please give solution

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2023-07-10T04:39:36.3466667+00:00

    Ensure that the service principal has the required permissions in the Dynamics 365 environment. Depending on the operations you want to perform, the service principal might need specific roles or privileges assigned

    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/sysadmin/tasks/assign-users-security-roles


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.