具有对象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

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

问题描述

我试图以编程方式从azure函数调用数据工厂管道.其引发以下错误.

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

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

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

AuthorizationFailed:对象ID为'XXX829e05'XXXX-XXXXX'的客户端'XXXX-XXXXX-XXXX'没有执行操作的授权 范围内的'Microsoft.DataFactory/datafactories/datapipelines/read' '/subscriptions/XXXXXX-4bf5-84c6-3a352XXXXXX/resourcegroups/fffsrg/providers/Microsoft.DataFactory/datafactories/ADFTestFFFS/datapipelines/ADFTutorialPipelineCustom'.

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?

目标是在文件添加到Blob时运行数据工厂管道.因此,为了获得结果,我们尝试使用blob触发器从azure函数调用数据工厂管道.

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.

推荐答案

步骤1:登录到您的Azure门户
步骤2:在左侧菜单栏中找到订阅",然后单击.

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

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

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

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

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.

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

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天全站免登陆