The client with object id does not have authorization to perform action 'Microsoft.DataFactory/datafactories/datapipelines/read' over scope

后端 未结 8 1810
星月不相逢
星月不相逢 2021-02-02 08:33

I was trying to invoke data factory pipeline from azure function programmatically. Its throwing following error.

link: http://eatcodelive.com/2016/02/24

相关标签:
8条回答
  • 2021-02-02 09:17

    Step 1: login to your azure portal
    Step 2: find Subscriptions in left side menu bar and click.

    step 3: Click on Access Control IAM and then click on Add.

    Step 4: In Add Permission window, select contributor for role. In select input box, type the app name you created in Azure AD (Created in Azure Active Directory)and select it. In my case I created Azure Resource Management.

    Step 5:After you have given successful permission, click on Refresh in your subscription window and you will see your app showing in the list. See below example.

    0 讨论(0)
  • 2021-02-02 09:22

    We recently had this issue with the same message and found that it was caused by the user being logged in with a different subscription (we have 2). Using az login --subscription resolved the problem for us.

    0 讨论(0)
提交回复
热议问题