Azure 数据工厂管道启动 SSIS Integration Runtime 授权错误
Azure Data Factory pipeline to start SSIS Integration Runtime authorization error
我在 Azure 数据工厂中为 start/stop SSIS 集成运行时创建了一个 Web 任务。但是,当我尝试 运行 管道时,我不断收到此错误 - Activity 启动我的 IR 失败:
{"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'."}}
我遵循了这条指示 - https://docs.microsoft.com/en-us/azure/data-factory/how-to-schedule-azure-ssis-integration-runtime
对于身份验证,select MSI 将托管身份用于您的 ADF,有关详细信息,请参阅数据工厂的托管身份一文。
问题是什么?
根据错误,您不能将服务主体作为角色添加到 ADF。
您需要为您的 ADF 的托管身份分配一个 Contributor
角色给它自己,因此其管道中的 Web 活动可以调用 REST API 到 start/stop Azure-SSIS其中提供了 IR。
关注 link 中的 step 5
:
我在 Azure 数据工厂中为 start/stop SSIS 集成运行时创建了一个 Web 任务。但是,当我尝试 运行 管道时,我不断收到此错误 - Activity 启动我的 IR 失败:
{"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'."}}
我遵循了这条指示 - https://docs.microsoft.com/en-us/azure/data-factory/how-to-schedule-azure-ssis-integration-runtime
对于身份验证,select MSI 将托管身份用于您的 ADF,有关详细信息,请参阅数据工厂的托管身份一文。
问题是什么?
根据错误,您不能将服务主体作为角色添加到 ADF。
您需要为您的 ADF 的托管身份分配一个 Contributor
角色给它自己,因此其管道中的 Web 活动可以调用 REST API 到 start/stop Azure-SSIS其中提供了 IR。
关注 link 中的 step 5
: