facing HTTP request was forbidden for 365 Dynamics linked service

Vaibhav Patil 255 Reputation points
2024-08-27T11:49:08.9333333+00:00

The HTTP request was forbidden with client authentication scheme 'Anonymous'.

The remote server returned an error: (403) Forbidden.

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
    2024-08-27T21:05:26.49+00:00

    Have you checked if the credentials (client ID, client secret) and permissions are correctly configured ?

    Avoid using 'Anonymous' as the authentication method; instead, use OAuth 2.0 or a similar scheme.

    Check that the Azure AD application has the necessary API permissions for Dynamics 365 or other services involved. Admin consent may be required for these permissions. Also, ensure that the user or application has the correct security roles within Dynamics 365.

    Verify that the request is being sent to the correct API endpoint and that any necessary firewall rules are configured. Tools like Postman or Fiddler can help trace and diagnose the HTTP request to identify misconfigurations..

    0 comments No comments

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.