Not able to access API management from ADF

Pothiraj, Saranya-ADM 0 Reputation points
2024-02-20T14:22:23.0533333+00:00

Hi team, Im trying to connect to APIM service from ADF just lik the steps mentioned in this link https://learn.microsoft.com/en-us/answers/questions/820865/using-azure-data-factory-to-call-azure-rest-api-of But im getting error below . Kindly help. User's imageUser's image

Error: User's image

I have given the reader access for ADF in APIM IAM. Is there any other setting that needs to be done.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

2 answers

Sort by: Most helpful
  1. Pothiraj, Saranya-ADM 0 Reputation points
    2024-02-28T14:53:28.02+00:00

    HI Sathish , I have added two screen shots.

    User's image

    User's image


  2. Pinaki Ghatak 5,690 Reputation points Microsoft Employee Volunteer Moderator
    2024-04-08T08:26:46.8133333+00:00

    Hello @Pothiraj, Saranya-ADM

    Based on the error message, it seems that the client with object id does not have authorization to perform action Microsoft.DataFactory/factories/pipelineruns/cancel/action over scope /subscriptions/resourceGroups/providers/Microsoft.DataFactory/factories/pipelineruns/ or the scope is invalid. If access was recently granted, please refresh your credentials.

    This error message is not related to the APIM service. It seems that the user does not have the required permissions to perform the action on the Azure Data Factory pipeline.

    Please ensure that the user has the required permissions to perform the action on the Azure Data Factory pipeline. You can check the permissions by following the steps below:

    1. Go to the Azure portal and navigate to the Azure Data Factory instance.
    2. Click on the Access control (IAM) tab.
    3. Check if the user has the required role assigned to them. If not, assign the required role to the user. If the issue persists, please provide more information about the steps you followed and the exact error message you are receiving.

    Let us know if this helps.

    0 comments No comments

Your answer

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