ADF: Rest call failed with client error, status code 403 Forbidden, please check your activity settings

Reni Calonge 25 Reputation points
2023-03-15T07:37:45.7333333+00:00

I'm trying to get my source in copy activity in Azure Data Factory with Rest API as my linked Service to GraphApi

User's image

Here's the error details

User's image

Here's the permissions I have in my data factory app
User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,590 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,538 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 36,896 Reputation points
    2023-03-15T10:25:19.5466667+00:00

    Hi @Reni Calonge

    You appear to be using the daemon-specific client credentials flow, which only supports application permissions because it is an unattended authentication flow.

    Therefore, try granting User.Read.All or Directory.Read.All application permissions to your app to get a list of users in the tenant.

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments

0 additional answers

Sort by: Most helpful