Can a Logic app clone another logic app and change its trigger

Jurgen Verhelst 326 Reputation points
2021-01-01T04:36:11.517+00:00

Hi,

A sharepoint site collection has two Logic Apps watching doc libraries. We cloned that team site via a logic app 'A' and a runbook with pnp cmdlets.

Is there a way, preferably within Logic App A to clone two other logic apps B and C? and then edit their trigger? I tried adding another operation in Logic App A and looked for logic app actions, I could select Logic App, but there are no actions in there to select...

I saw that I could do it with a runbook via New- and Set-AzureRmLogicApp but that seemed to be depricated and cannot find the new cmdlets

52636-screenshot-2021-01-01-053517.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,941 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,526 Reputation points
    2021-01-04T19:08:30.377+00:00

    @Jurgen Verhelst I believe you want to clone the logic apps for different SharePoint site collections? Please correct me if you are trying to achieve something else?
    If that is the case here are couple of ways to automate the process please refer to Logic App Job scheduler
    While creating the logic app, at the last step you can download the template for reference and modify that for future use.
    53305-image.png
    Otherwise, you can leverage the logic app to parameterize any dynamic variables. For logic app you can check : parameterized-use-of-the-http-action-in-logic-apps
    Please let me know if this helps!