具有对象 ID 的客户端无权在范围内执行操作“Microsoft.DataFactory/datafactories/datapipelines/read" [英] The client with object id does not have authorization to perform action 'Microsoft.DataFactory/datafactories/datapipelines/read' over scope

查看:14
本文介绍了具有对象 ID 的客户端无权在范围内执行操作“Microsoft.DataFactory/datafactories/datapipelines/read"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图以编程方式从 azure 函数调用数据工厂管道.它抛出以下错误.

<块引用>

链接:

第 3 步:点击访问控制 IAM,然后点击添加.

第 4 步:在添加权限"窗口中,选择角色的贡献者.在选择输入框中,键入您在 Azure AD 中创建的应用名称(在 Azure Active Directory 中创建)并选择它.就我而言,我创建了 Azure 资源管理.

步骤 5:在您成功授予权限后,单击订阅窗口中的刷新,您将看到您的应用程序显示在列表中.请参见下面的示例.

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

link: http://eatcodelive.com/2016/02/24/starting-an-azure-data-factory-pipeline-from-c-net/

AuthorizationFailed: The client 'XXXX-XXXXX-XXXX' with object id 'XXX829e05'XXXX-XXXXX' does not have authorization to perform action 'Microsoft.DataFactory/datafactories/datapipelines/read' over scope '/subscriptions/XXXXXX-4bf5-84c6-3a352XXXXXX/resourcegroups/fffsrg/providers/Microsoft.DataFactory/datafactories/ADFTestFFFS/datapipelines/ADFTutorialPipelineCustom'.

tried to search similar issues, but none of the search result gave me solution to my problem, Can you please guide us what could be the issue?

Objective is to, run data factory pipeline whenever file being added to blob. so to achieve the result we are trying to invoke data factory pipeline from azure function using blob trigger.

解决方案

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.

这篇关于具有对象 ID 的客户端无权在范围内执行操作“Microsoft.DataFactory/datafactories/datapipelines/read"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆