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

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,651 questions
Microsoft Security | Microsoft Graph
{count} votes

Accepted answer
  1. CarlZhao-MSFT 46,376 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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.