简体   繁体   中英

Triggering Logic Apps Workflow from Azure Data Factory using Managed Identity

For a project I am working on, we need to trigger a Logic App workflow from Azure Data Factory.

We were thinking to do the integration/authentication in a secure way by using Managed Identity and hence avoiding the use of any client secrets.

Practically, we have a Web activity in ADF which needs to call the Logic App workflow endpoint (in a secure way) avoiding the SAS values in the url or using any client secrets in body.

Has anyone had any experience with this?

This should be what you are looking for:

Azure 数据工厂用户界面

And here is the detailed REST API URL to trigger it. Keep in mind this method requires you to give your ADF RBAC to whatever Logic App you are wanting ADF to trigger.

https://management.azure.com/subscriptions/{YourSubscriptionID}/resourceGroups/{YourResourceGroupName}/providers/Microsoft.Logic/workflows/{YourLogicAppName}/triggers/Manual/run?api-version=2016-06-01

I tested this using a Simple SendGrid Email test and it worked.

If you for some reason don't like this method, you could also have ADF drop a Message Queue into Azure Storage, then have your Logic App listening to that Storage Queue and trigger when a new message is received. In that case ADF and the logic app just need access to the same Queue, and not directly to each other.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM