Azure数据工厂管道启动SSIS集成运行时授权错误 [英] Azure Data Factory pipeline to start SSIS Integration Runtime authorization error
问题描述
我在Azure数据工厂中创建了一个Web任务以启动/停止SSIS集成运行时.但是,当我尝试运行管道时,始终出现此错误-活动启动我的IR失败:
{错误":{代码":授权失败",消息":客户端对象ID为'2b36c922-34cf-43d8-be05-5d757017e2ed''2b36c922-34cf-43d8-be05-5d757017e2ed'无权采取行动'Microsoft.DataFactory/factories/integrationruntimes/start/action'超范围'/subscriptions/e8e76bdc-4591-4936-9899-31bffef9c5cd/resourcegroups/XXXXXBI-RG/providers/Microsoft.DataFactory/factories/XXXXXBI-DF/integrationruntimes/XXXXXSSIS-IR'.}}
我遵循了此说明-
I created a Web task in Azure Data Factory to start/stop SSIS Integration Runtime. However, when I try to run the pipeline, I keep getting this error - Activity Start My IR failed:
{"error":{"code":"AuthorizationFailed","message":"The client '2b36c922-34cf-43d8-be05-5d757017e2ed' with object id '2b36c922-34cf-43d8-be05-5d757017e2ed' does not have authorization to perform action 'Microsoft.DataFactory/factories/integrationruntimes/start/action' over scope '/subscriptions/e8e76bdc-4591-4936-9899-31bffef9c5cd/resourcegroups/XXXXXBI-RG/providers/Microsoft.DataFactory/factories/XXXXXBI-DF/integrationruntimes/XXXXXSSIS-IR'."}}
I followed this instruction - https://docs.microsoft.com/en-us/azure/data-factory/how-to-schedule-azure-ssis-integration-runtime
For Authentication, select MSI to use the managed identity for your ADF, see Managed identity for Data Factory article for more info.
What is the issue?
According to the error, you may not add the service principal to the ADF as a role.
You need to assign the managed identity for your ADF a Contributor
role to itself, so Web activities in its pipelines can call REST API to start/stop Azure-SSIS IRs provisioned in it.
Follow the step 5
in this link:
这篇关于Azure数据工厂管道启动SSIS集成运行时授权错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!