Connecting Logic App Workflow to Azure Data Factory

Sharon 60 Reputation points
2023-11-15T00:41:49.5466667+00:00

Hi Team,

This is also a quick follow up question again for https://learn.microsoft.com/en-us/answers/questions/1422049/connecting-logic-app-workflow-to-cosmos-db-as-to-l. Thanks to the community help we succeeded today by setting up the destination on Cosmos DB.

The question will be if we can switch the destination of loading the security recommendations data to Azure Data Factory ( and then load the data to Cosmos DB, just to have one centralized data pipeline workflows). We tried to set up the data set in ADF but both logic app and log analytics are not the options available on the dataset dropdown of ADF.

If setting it up on Logic App workflow is the right track, we encountered a blocker when setting up the destination step "Create a pipeline run" in ADF. Screenshot 2023-11-14 at 4.39.37 PM

As it requires a pipeline in ADF to load the data, can the team let us know how to get the security recommendation data from log analytics load into ADF using Logic App workflow?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

Accepted answer
  1. Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
    2023-11-15T16:22:13.51+00:00

    Create a new pipeline that includes a Copy Data activity. The source for this activity will be the output of your Logic Apps query, and the sink will be your Cosmos DB.

    Then define parameters in your ADF pipeline if you need to pass any specific data from Logic Apps, like the result of the Run query and list results step.

    Go back to to your Logic App, after the Run query and list results step, use the Create a pipeline run action to invoke the ADF pipeline you created. You'll need to provide the name of the ADF pipeline and any parameters it expects.

    Please test and tell us :)

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.