Azure Logic App by scripting, rather the Portal designer

azure logic app triggers
logic apps http connector
logic apps rest api connector

Is it possible to edit a Logic App from terminal/cmd?

I have the json code for the logicapp. So I'm wondering if there is a way to edit or put the json code to Azure Portal from terminal, something like sqlcmd which can be used to modify database in Azure.

The goal is to use Azure Portal least possible.

ARM templates. You create a json template defining your logic app and other services needed by it, and then you can use Powershell or Azure CLI or already defined task in the Azure Release Pipelines, to actually release your logic app.

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-create-deploy-azure-resource-manager-templates

Migrate from Azure Scheduler to Azure Logic Apps, Migrate Azure Scheduler jobs to Azure Logic Apps by creating automated workflows with Azure Logic Apps, rather than with Azure Scheduler. Scheduler jobs to Azure Logic Apps. However, you can edit this script to meet your needs. In the Azure portal, create a blank logic app in Logic App Designer. Is it possible to edit a Logic App from terminal/cmd? I have the json code for the logicapp. So I'm wondering if there is a way to edit or put the json code to Azure Portal from terminal, something like sqlcmd which can be used to modify database in Azure. The goal is to use Azure Portal least possible.

I think you can use following command to modify and update logic app

Set-AzureRmLogicApp

PS C:\>Set-AzureRmLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp17" -State "Enabled" -AppServicePlan "ServicePlan01" -DefinitionFilePath "d:\workflows\Definition17.json" -ParameterFilePath "d:\workflows\Parameters17.json"

There are some examples in the link

https://docs.microsoft.com/en-us/powershell/module/azurerm.logicapp/Set-AzureRmLogicApp?view=azurermps-6.13.0

Quickstart, How to create and deploy a logic app using Azure Resource Manager templates. Instead, you can review the quickstart template's "azuredeploy.json file" in To view the logic app, you can use the Azure portal, run a script that you When the Logic App Designer opens, review the logic app created by� Every logic app must start with a trigger, which fires when a specific event happens or when a specific condition is met. Each time the trigger fires, the Azure Logic Apps engine creates a logic app instance that starts and runs your workflow. Add the RSS trigger. In the Logic App Designer, under the search box, select All.

Well...why do you want to do this? You can, but it's much easier to use a designer in most cases. It's not really analogous to SQL.

If just want to avoid the Portal, you can use Visual Studio to edit Logic Apps and deploy by PowerShell.

For clarity, if you are asking this because of the other situation, stop and fix that problem first. Your problem there is not caused by the Portal.

Overview - Automate deployment for Azure Logic Apps, Or, you can create logic app templates by using Azure PowerShell with from " design view" to "code view" in the Azure portal or Visual Studio, or by Instead, declare a workflow definition parameter, which you can then set� To call existing Azure functions from your logic apps, you can add Azure functions like any other action in the Logic App Designer. In the Azure portal, open your logic app in the Logic App Designer. Under the step where you want to add the function, select New step. Under Choose an action, in the search box, enter "azure functions" as your filter.

Add and run code snippets by using inline code, When you want to run a piece of code inside your logic app, you can add the already, in the Azure portal, open your logic app in the Logic App Designer. rather than adding the trigger or actions as explicit dependencies. To enable Azure AD OAuth, follow these steps to add one or more authorization policies to your logic app. In the Azure portal, find and open your logic app in the Logic App Designer. On the logic app menu, under Settings, select Authorization. After the Authorization pane opens, select Add policy.

Add and call Azure Functions from Azure Logic Apps, You can also call logic apps from inside Azure functions. In the Azure portal, open your logic app in the Logic App Designer. So, if this example used the Received Time token instead, you can cast the context object as a� The designer integrates with the current Azure Resource Group project so you can seamlessly work with resource deployments that include Logic Apps. To use, simply install the extension and create a new Cloud -> Resource Group project. Add a Logic App, and you can right-click the template to open in the Logic App designer.

Create logic app templates for deployment, Learn how to create Azure Resource Manager templates for automating Azure Logic Apps provides a prebuilt logic app Azure Resource find and download an existing logic app from the Azure portal into Visual Studio. pipes the token to the PowerShell script, and creates the template as a JSON file. Within the Azure Portal, when a logic app is selected, a Versions link appears on the left navigation. Once clicked, a list of logic app versions appear. When a version is opened, a designer-like experience will load and we can view the logic app.

Comments
  • can I run "Set-AzureRmLogicApp" from command prompt? or only from power shell?
  • you can run from command prompt but I guess you still have to call powershell first check this question superuser.com/questions/1080239/run-powershell-command-from-cmd
  • @AmirAliWafai if it answers your question then could you please accept the answer.
  • I'm working with that. If I make it work, I will accept the answer. Right now I'm working with "az group deployment create" so that I don't have o use powershell.