Developing Logic App Standard Workflow Using Visual Studio Code | Create Logic App Standard Workflow Using Visual Studio Code

{tocify} $title={Table of Contents}


We discussed about logic app standard offering in following post - 

One of the feature is that we can develop logic app standard workflow locally using Visual studio code. 

In this post we will see how to setup the local dev env and an example of http triggered based stateful workflow using the env we setup.

Setting up local dev environment 

Visual studio code

It's a free IDE and can be downloaded from -  and install it.

After installation is done we need to add few extensions into it.

Add Azurite

As we need to set up a local data store for logic app project and workflows to use for running in your local development environment.

Open visual studio code and go to Extension and search for Azurite and install it (as highlighted below)

Add Azurite extension in Visual Studio

Alternatively it can be downloaded and installed from -

Azure Account Extension

It provides a single common Azure sign-in and subscription filtering experience for all other Azure extensions in Visual Studio Code.

In the extension search for Azure account and install it (as highlighted below)

Azure Account


It enables F5 and ctrl+f5 functionality to run and debug your logic app.

c# extension in visual studio code

Azure Functions core tools (4.x version) using msi

Download the Azure Functions core tools (4.x version) from - and install it.

Azure Functions Core tools - 4

Azure Logic Apps Standard Extension

In visual studio code, click on Extension Icon and search for Logic App and from the results displayed - click Install button for Azure Logic Apps (Standard)

Add logic App standard extension in Visual Studio Code

 Once it is installed, it should be visible  as seen in image below

Azure added as extension in Visual Studio Code

 All right, setup is done.

Developing Logic App Standard Workflow Using Visual Studio Code

First thing is to sign in to Azure .

Next is to click on folder Icon to create new project, select the folder you want 

Logic App standard - create new project

After selecting folder, you will be presented with an option of creating workflow

Create stateful workflow in Logic App Standard

After I press Enter, nothing came up, instead on the right bottom saw an error message

.net core sdk required

So we also need .Net core SDK , it can be downloaded from  -

After downloading the setup, run it

.net sdk installation 1

Click on install

.net sdk installation

Close once installation done

.net sdk installation completed

After above installation, tried creating project again and  got the same error.

Just closed the visual studio code, opened again and tried to create project  and it allowed now.

Click on the Folder with bolt and provide folder

Logic app standard - create stateful workflow

If you see below message then just click on Yes, I trust the authors

Select, yes I trust the authors

Following should appear on the screen, workflow.json file gets added

workflow.json  gets added in Logic app standard

Right click on workflow.json and select open in designer

Right click on workflow.json and select open in designer

workflow-designtime file  gets added and following screen on right is presented

workflow designer in Logic app Standard

For the sake of demo, will create a simple request response workflow.

Add http trigger in logic app standard workflow

Add a http trigger and add new step

Add http response in logic app standard workflow

Add http response in logic app standard workflow and configure it

configure http response

Provide body of trigger as body of the response.

Save the workflow. 

Let's test it now.


We would use Postman app to test locally and before we run or debug logic app we need to Start Azurite

Start Azurite

Click on Run or debug, and you should see the url under Terminal section (we are not going to use it)

After run url is shown

Go to overview and capture the Callback url

Callback URL

Use this url for testing, in postman app

Testing using postman

Let's now check if we can see the run history, go to Overview 

Run history in logic app standard overview

Select show run and you should be able to see the workflow run

Workflow run

Note :  Here we tested the workflow locally via localhost url.  If you want to test it over internet or publically then you can use a forwarding service and tool such as ngrok (

Learn More about Logic App

Post a Comment

If you have any suggestions or questions or want to share something then please drop a comment

Previous Post Next Post