facing HTTP request was forbidden for 365 Dynamics linked service

Vaibhav Patil 235 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

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,877 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,995 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,666 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 24,451 Reputation points
    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.