如何在Azure数据工厂中使用此API [英] How can I use this API in Azure Data Factory
问题描述
我想将此API用作Azure Data Factory中的Web模块[
我尝试首先在此链接中设置令牌请求,但没有帮助.任何指导表示赞赏
更新:
添加如下所示的MSI,例如,我的ADFv2名为 joyfactory
,只需添加与 Owner
或 Contributor
.
添加后,请在角色分配
中进行检查,如下所示.
I want to use this API as a Web module in Azure Data Factory [https://docs.microsoft.com/en-us/rest/api/datafactory/pipelineruns/querybyfactory
But it required me to get a bearer Token first in Authorization.
I'm try to set up a token request first in this link but no help. Any guidance is appreciated https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth-ropc
No need to use the bearer token manually, you can use the MSI
Authentication in your screenshot directly.
Navigate to your subscription or ADFv2 in the portal -> Access control (IAM)
-> Add
-> Add role assignment
-> search for the name of your ADFv2 and add it as an Owner/Contributor
role in the subscription. Then the MSI of your ADFv2 will be able to call the rest api.
Update:
Add the MSI like below, for exampple, my ADFv2 named joyfactory
, just add the MSI with the same name as an Owner
or Contributor
.
After adding it, check it in the Role assignments
, it should be like below.
这篇关于如何在Azure数据工厂中使用此API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!