Create an example Standard workflow in single-tenant Azure Logic Apps with the Azure portal
Applies to: Azure Logic Apps (Standard)
This how-to guide shows how to create an example automated workflow that waits for an inbound web request and then sends a message to an email account. More specifically, you'll create a Standard logic app resource, which can include multiple stateful and stateless workflows that run in single-tenant Azure Logic Apps.
Note
To create this example workflow in Visual Studio Code instead, follow the steps in Create Standard workflows in single-tenant Azure Logic Apps with Visual Studio Code. Both options provide the capability to develop, run, and deploy logic app workflows in the same kinds of environments. However, with Visual Studio Code, you can locally develop, test, and run workflows in your development environment.
While this example workflow is cloud-based and has only two steps, you can create workflows from hundreds of operations that can connect a wide range of apps, data, services, and systems across cloud, on premises, and hybrid environments. The example workflow starts with the Request built-in trigger, which is followed by an Office 365 Outlook action. The trigger creates a callable endpoint for the workflow and waits for an inbound HTTPS request from any caller. When the trigger receives a request and fires, the next action runs by sending email to the specified email address along with selected outputs from the trigger.
As you progress, you'll complete these high-level tasks:
- Create a Standard logic app resource and add a blank stateful workflow.
- Add a trigger and action.
- Trigger a workflow run.
- View the workflow's run and trigger history.
- Enable or open the Application Insights after deployment.
- Enable run history for stateless workflows.
In single-tenant Azure Logic Apps, workflows in the same logic app resource and tenant run in the same process as the runtime, so they share the same resources and provide better performance. For more information about single-tenant Azure Logic Apps, see Single-tenant versus multi-tenant and integration service environment.
Prerequisites
An Azure account and subscription. If you don't have a subscription, sign up for a free Azure account.
An Azure Storage account. If you don't have one, you can either create a storage account in advance or during logic app creation.
Note
The Standard logic app resource type is powered by Azure Functions and has storage requirements similar to function apps. Stateful workflows perform storage transactions, such as using queues for scheduling and storing workflow states in tables and blobs. These transactions incur storage charges. For more information about how stateful workflows store data in external storage, review Stateful and stateless workflows.
To create the same example workflow in this guide, you need an Office 365 Outlook email account that uses a Microsoft work or school account to sign in.
If you don't have an Office 365 account, you can use any other available email connector that can send messages from your email account, for example, Outlook.com. If you use a different email connector, you can still follow the example, and the general overall steps are the same. However, your options might differ in some ways. For example, if you use the Outlook.com connector, use your personal Microsoft account instead to sign in.
To test the example workflow in this guide, you need a tool that can send calls to the endpoint created by the Request trigger. If you don't have such a tool, you can download, install, and use Postman.
If you create your logic app resource and enable Application Insights, you can optionally enable diagnostics logging and tracing for your logic app. You can do so either when you create your logic app or after deployment. You need to have an Application Insights instance, but you can create this resource either in advance, when you create your logic app, or after deployment.
To deploy your Standard logic app resource to an App Service Environment v3 (ASEv3) - Windows plan only, you have to create this environment resource first. You can then select this environment as the deployment location when you create your logic app resource. For more information, review Resources types and environments and Create an App Service Environment.
Starting mid-October 2022, new Standard logic app workflows in the Azure portal automatically use Azure Functions v4. Throughout November 2022, existing Standard workflows in the Azure portal are automatically migrating to Azure Functions v4. Unless you deployed your Standard logic apps as NuGet-based projects or pinned your logic apps to a specific bundle version, this upgrade is designed to require no action from you nor have a runtime impact. However, if the exceptions apply to you, or for more information about Azure Functions v4 support, see Azure Logic Apps Standard now supports Azure Functions v4.
Create a Standard logic app resource
In the Azure portal, sign in with your Azure account.
In the Azure portal search box, enter logic apps, and select Logic apps.
On the Logic apps page, select Add.
On the Create Logic App page, on the Basics tab, provide the following basic information about your logic app:
Property Required Value Description Subscription Yes <Azure-subscription-name> Your Azure subscription name. Resource Group Yes <Azure-resource-group-name> The Azure resource group where you create your logic app and related resources. This name must be unique across regions and can contain only letters, numbers, hyphens (-), underscores (_), parentheses (()), and periods (.).
This example creates a resource group named Fabrikam-Workflows-RG.Logic App name Yes <logic-app-name> Your logic app resource name, which must be unique across regions and can contain only letters, numbers, hyphens (-), underscores (_), parentheses (()), and periods (.).
Note: Your logic app's name automatically gets the suffix, .azurewebsites.net, because the Standard logic app resource is powered by the single-tenant Azure Logic Apps runtime, which uses the Azure Functions extensibility model and is hosted as an extension on the Azure Functions runtime. Azure Functions uses the same app naming convention.
This example creates a logic app named Fabrikam-Workflows.Before you continue making selections, go to the Plan section. For Plan type, select Standard so that you view only the settings that apply to the Standard plan-based logic app type.
The Plan type property specifies the hosting plan and billing model to use for your logic app. For more information, review Hosting plans and pricing tiers.
Plan type Description Standard This logic app type is the default selection. Workflows run in single-tenant Azure Logic Apps and use the Standard billing model. Consumption This logic app type and workflow runs in global, multi-tenant Azure Logic Apps and uses the Consumption billing model. Property Required Value Description Windows Plan Yes <plan-name> The plan name to use. Either select an existing plan name or provide a name for a new plan.
This example uses the name My-App-Service-Plan.
Note: Only the Windows-based App Service plan is supported. Don't use a Linux-based App Service plan.Pricing plan Yes <pricing-tier> The pricing tier to use for your logic app and workflows. Your selection affects the pricing, compute, memory, and storage that your logic app and workflows use.
For more information, review Hosting plans and pricing tiers.Now continue making the following selections:
Property Required Value Description Publish Yes Workflow This option appears and applies only when Plan type is set to the Standard logic app type. By default, this option is set to Workflow and creates an empty logic app resource where you add your first workflow.
Note: Currently, the Docker Container option requires a custom location on an Azure Arc enabled Kubernetes cluster, which you can use with Azure Arc enabled Logic Apps (Standard). The resource locations for your logic app, custom location, and cluster must all be the same.Region Yes <Azure-region> The Azure datacenter region to use for storing your app's information. This example deploys the sample logic app to the West US region in Azure.
- If you previously chose Docker Container, select your custom location from the Region list.
- If you want to deploy your app to an existing App Service Environment v3 resource, you can select that environment from the Region list.Note
If you select an Azure region that supports availability zone redundancy, the Zone redundancy section is enabled. This section offers the choice to enable availability zone redundancy for your logic app. However, currently supported Azure regions don't include West US, so you can ignore this section for this example. For more information, see Protect logic apps from region failures with zone redundancy and availability zones.
When you're done, your settings look similar to the following example:
On the Hosting tab, provide the following information about the storage solution and hosting plan to use for your logic app.
Property Required Value Description Storage type Yes - Azure Storage
- SQL and Azure StorageThe storage type that you want to use for workflow-related artifacts and data.
- To deploy only to Azure, select Azure Storage.
- To use SQL as primary storage and Azure Storage as secondary storage, select SQL and Azure Storage, and review Set up SQL database storage for Standard logic apps in single-tenant Azure Logic Apps.
Note: If you're deploying to an Azure region, you still need an Azure storage account, which is used to complete the one-time hosting of the logic app's configuration on the Azure Logic Apps platform. The workflow state, run history, and other runtime artifacts are stored in your SQL database.
For deployments to a custom location that's hosted on an Azure Arc cluster, you only need SQL as your storage provider.Storage account Yes <Azure-storage-account-name> The Azure Storage account to use for storage transactions.
This resource name must be unique across regions and have 3-24 characters with only numbers and lowercase letters. Either select an existing account or create a new account.
This example creates a storage account named mystorageacct.On the Networking tab, you can leave the default options for this example.
For your specific, real-world scenarios, make sure to review and select the appropriate options. You can also change this configuration after you deploy your logic app resource. For more information, see Secure traffic between Standard logic apps and Azure virtual networks using private endpoints.
Enable public access Behavior On Your logic app has a public endpoint with an inbound address that's open to the internet and can't access an Azure virtual network. Off Your logic app has no public endpoint, but has a private endpoint instead for communication within an Azure virtual network, and is isolated to that virtual network. The private endpoint can communicate with endpoints in the virtual network, but only from clients within that network. This configuration also means that logic app traffic can be governed by network security groups or affected by virtual network routes. To enable your logic app to access endpoints in a virtual network, make sure to select the appropriate option:
Enable network injection Behavior On Your logic app workflows can privately and securely communicate with endpoints in the virtual network. Off Your logic app workflows can't communicate with endpoints in the virtual network. If your creation and deployment settings support using Application Insights, you can optionally enable diagnostics logging and tracing for your logic app workflows.
On the Monitoring tab, under Application Insights, set Enable Application Insights to Yes if not already selected.
For the Application Insights setting, either select an existing Application Insights instance, or if you want to create a new instance, select Create new and provide the name that you want to use.
After Azure validates your logic app's settings, on the Review + create tab, select Create, for example:
Note
If you get a validation error during this step, open and review the error details. For example, if your selected region reaches a quota for resources that you're trying to create, you might have to try a different region.
After Azure finishes deployment, your logic app resource is automatically live but doesn't do anything yet because the resource is empty, and you haven't added any workflows yet.
On the deployment completion page, select Go to resource so that you can add a blank workflow.
Add a blank workflow
After you create your empty logic app resource, you have to add your first workflow.
After Azure opens the resource, on your logic app resource menu, select Workflows. On the Workflows toolbar, select Add.
After the New workflow pane opens, provide a name for your workflow, and select the state type, either Stateful or Stateless. When you're done, select Create.
This example adds a blank stateful workflow named Stateful-Workflow. By default, the workflow is enabled but doesn't do anything until you add a trigger and actions.
From the workflow list, select the blank stateful workflow.
On the workflow menu, under Developer, select Designer.
The designer surface shows a prompt to select a trigger operation. By default, the prompt is already selected so that a pane with available triggers already appears open.
So now you'll add a trigger that starts your workflow.
Add a trigger
This example workflow starts with the built-in Request trigger named When a HTTP request is received. This trigger creates an endpoint that other services or logic app workflows can call and waits for those inbound calls or requests to arrive. Built-in operations run natively and directly within the Azure Logic Apps runtime.
On the workflow designer, make sure that your blank workflow is open and that the Add a trigger prompt is selected on the designer surface.
By using request as the search term, follow these steps to add the built-in Request trigger named When a HTTP request is received to your workflow.
When the trigger appears on the designer, the trigger's information pane opens to show the trigger's properties, settings, and other actions.
Save your workflow. On the designer toolbar, select Save.
When you save a workflow for the first time, and that workflow starts with a Request trigger, Azure Logic Apps automatically generates a URL for an endpoint that's created by the Request trigger. Later, when you test your workflow, you send a request to this URL, which fires the trigger and starts the workflow run.
Add an action
This example workflow continues with the Office 365 Outlook managed connector action named Send an email. Managed connector operations run in Azure versus natively and directly on the Azure Logic Apps runtime.
On the designer, under the trigger that you added, select the plus sign (+) > Add an action.
The Add an action pane opens so that you can select the next action.
By using office send an email as the search term, follow these steps to add the Office 365 Outlook action that's named Send an email (V2) to your workflow.
In the action's information pane, on the Create Connection tab, select Sign in so that you can create a connection to your email account.
When you're prompted for access to your email account, sign in with your account credentials.
Note
If you get the error message, "Failed with error: 'The browser is closed.'. Please sign in again", check whether your browser blocks third-party cookies. If these cookies are blocked, try adding https://portal.azure.com to the list of sites that can use cookies. If you're using incognito mode, make sure that third-party cookies aren't blocked while working in that mode.
If necessary, reload the page, open your workflow, add the email action again, and try creating the connection.
After Azure creates the connection, the Send an email action appears on the designer and is selected by default. If the action isn't selected, select the action so that its information pane is also open.
In the action information pane, on the Parameters tab, provide the required information for the action, for example:
Property Required Value Description To Yes <your-email-address> The email recipient, which can be your email address for test purposes. This example uses the fictitious email, sophiaowen@fabrikam.com. Subject Yes An email from your example workflow The email subject Body Yes Hello from your example workflow! The email body content Note
When making any changes in the information pane on the Settings, Static Result, or Run After tabs, make sure that you select Done to commit those changes before you switch tabs or change focus to the designer. Otherwise, the designer won't keep your changes.
Save your work. On the designer toolbar, select Save.
If your environment has strict network requirements or firewalls that limit traffic, you have to set up permissions for any trigger or action connections that exist in your workflow. To find the fully qualified domain names, review Find domain names for firewall access.
Otherwise, to test your workflow, manually trigger a run.
Find domain names for firewall access
Before you deploy your logic app and run your workflow in the Azure portal, if your environment has strict network requirements or firewalls that limit traffic, you have to set up network or firewall permissions for any trigger or action connections in the workflows that exist in your logic app.
To find the inbound and outbound IP addresses used by your logic app and workflows, follow these steps:
On your logic app menu, under Settings, select Networking (preview).
On the networking page, find and review the Inbound Traffic and Outbound Traffic sections.
To find the fully qualified domain names (FQDNs) for connections, follow these steps:
On your logic app menu, under Workflows, select Connections. On the API Connections tab, select the connection's resource name, for example:
Expand your browser wide enough so that when JSON View appears in the browser's upper right corner, select JSON View.
Copy and save the connectionRuntimeUrl property value somewhere safe so that you can set up your firewall with this information.
For each connection, repeat the relevant steps.
Trigger the workflow
In this example, the workflow runs when the Request trigger receives an inbound request, which is sent to the URL for the endpoint that's created by the trigger. When you saved the workflow for the first time, Azure Logic Apps automatically generated this URL. So, before you can send this request to trigger the workflow, you need to find this URL.
On the workflow designer, select the Request trigger that's named When a HTTP request is received.
After the information pane opens, on the Parameters tab, find the HTTP POST URL property. To copy the generated URL, select the Copy Url (copy file icon), and save the URL somewhere else for now. The URL follows this format:
https://<*logic-app-name*>.azurewebsites.net:443/api/<*workflow-name*>/triggers/manual/invoke?api-version=2020-05-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=<*shared-access-signature*>
For this example, the URL looks like this:
https://fabrikam-workflows.azurewebsites.net:443/api/Fabrikam-Stateful-Workflow/triggers/manual/invoke?api-version=2020-05-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=xxxxxXXXXxxxxxXXXXxxxXXXXxxxxXXXX
Tip
You can also find the endpoint URL on your logic app's Overview pane in the Workflow URL property.
- On the resource menu, select Overview.
- On the Overview pane, find the Workflow URL property.
- To copy the endpoint URL, move your pointer over the end of the endpoint URL text, and select Copy to clipboard (copy file icon).
To test the URL by sending a request, open Postman or your preferred tool for creating and sending requests.
This example continues by using Postman. For more information, see Postman Getting Started.
On the Postman toolbar, select New.
On the Create New pane, under Building Blocks, select Request.
In the Save Request window, under Request name, provide a name for the request, for example, Test workflow trigger.
Under Select a collection or folder to save to, select Create Collection.
Under All Collections, provide a name for the collection to create for organizing your requests, press Enter, and select Save to <collection-name>. This example uses Logic Apps requests as the collection name.
In the Postman app, the request pane opens so that you can send a request to the endpoint URL for the Request trigger.
On the request pane, in the address box that's next to the method list, which currently shows GET as the default request method, paste the URL that you previously copied, and select Send.
When the trigger fires, the example workflow runs and sends an email that appears similar to this example:
Best practices and recommendations
For optimal designer responsiveness and performance, review and follow these guidelines:
Use no more than 50 actions per workflow. Exceeding this number of actions raises the possibility for slower designer performance.
Consider splitting business logic into multiple workflows where necessary.
Have no more than 10-15 workflows per logic app resource.
Review workflow run history
After a stateful workflow finishes running, you can view the workflow's run history, including the status for the overall run, for the trigger, and for each action along with their inputs and outputs. In the Azure portal, workflow run history and trigger history appear at the workflow level, not at the logic app resource level. For more information, see Review workflow run history and Review trigger history.
For this example workflow, the workflow run history looks similar to the following sample:
Resubmit workflow run with same inputs
For an existing stateful workflow run, you can rerun the entire workflow with the same inputs that were previously used for that run. For more information, see Rerun a workflow with same inputs.
Review trigger history
For a stateful workflow, you can review the trigger history for each run, including the trigger status along with inputs and outputs, separately from the workflow run history. In the Azure portal, trigger history and run history appear at the workflow level, not the logic app level. For more information, see Review trigger history.
Enable run history for stateless workflows
To debug a stateless workflow more easily, you can enable the run history for that workflow, and then disable the run history when you're done. Follow these steps for the Azure portal, or if you're working in Visual Studio Code, see Create stateful and stateless workflows in Visual Studio Code.
In the Azure portal, open your Standard logic app resource.
On the logic app's menu, under Settings, select Configuration.
On the Application settings tab, select New application setting.
On the Add/Edit application setting pane, in the Name box, enter this operation option name:
Workflows.{yourWorkflowName}.OperationOptions
In the Value box, enter the following value: WithStatelessRunHistory
To finish this task, select OK. On the Configuration pane toolbar, select Save.
To disable the run history when you're done, either set the property named Workflows.{your-workflow-name}.OperationOptions to None, or delete the property and its value.
Enable or open Application Insights after deployment
During workflow run, your logic app emits telemetry along with other events. You can use this telemetry to get better visibility into how well your workflow runs and how the Logic Apps runtime works in various ways. You can monitor your workflow by using Application Insights, which provides near real-time telemetry (live metrics). This capability can help you investigate failures and performance problems more easily when you use this data to diagnose issues, set up alerts, and build charts.
If your logic app's creation and deployment settings support using Application Insights, you can optionally enable diagnostics logging and tracing for your logic app. You can do so either when you create your logic app in the Azure portal or after deployment. You need to have an Application Insights instance, but you can create this resource either in advance, when you create your logic app, or after deployment.
To enable Application Insights on a deployed logic app or open the Application Insights dashboard if already enabled, follow these steps:
In the Azure portal, find your deployed logic app.
On the logic app menu, under Settings, select Application Insights.
If Application Insights isn't enabled, on the Application Insights pane, select Turn on Application Insights. After the pane updates, at the bottom, select Apply > Yes.
If Application Insights is enabled, on the Application Insights pane, select View Application Insights data.
After Application Insights opens, you can review various metrics for your logic app. For more information, review these topics:
- Azure Logic Apps Running Anywhere - Monitor with Application Insights - part 1
- Azure Logic Apps Running Anywhere - Monitor with Application Insights - part 2
View connections
When you create connections within a workflow using managed connectors or service provider based, built-in connectors, these connections are actually separate Azure resources with their own resource definitions.
From your logic app's menu, under Workflows, select Connections.
Based on the connection type, you want to view, select one of the following options:
Option Description API Connections Connections created by managed connectors Service Provider Connections Connections created by built-in connectors based on the service provider interface implementation. a specific connection instance, which shows more information about that connection. To view the selected connection's underlying resource definition, select JSON View. JSON View The underlying resource definitions for all connections in the logic app
Delete items from the designer
To delete an item in your workflow from the designer, follow any of these steps:
Select the item, open the item's shortcut menu (Shift+F10), and select Delete. To confirm, select OK.
Select the item, and press the delete key. To confirm, select OK.
Select the item so that information pane opens for that item. In the pane's upper right corner, open the ellipses (...) menu, and select Delete. To confirm, select OK.
Tip
If the ellipses menu isn't visible, expand your browser window wide enough so that the information pane shows the ellipses (...) button in the upper right corner.
Restart, stop, or start logic apps
You can stop or start a single logic app or multiple logic apps at the same time. You can also restart a single logic app without first stopping. Your single-tenant based logic app can include multiple workflows, so you can either stop the entire logic app or disable only workflows.
Note
The stop logic app and disable workflow operations have different effects. For more information, review Considerations for stopping logic apps and considerations for disabling workflows.
Considerations for stopping logic apps
Stopping a logic app affects workflow instances in the following ways:
Azure Logic Apps cancels all in-progress and pending runs immediately.
Azure Logic Apps doesn't create or run new workflow instances.
Triggers won't fire the next time that their conditions are met. However, trigger states remember the points where the logic app was stopped. So, if you restart the logic app, the triggers fire for all unprocessed items since the last run.
To stop each workflow from triggering on unprocessed items since the last run, clear the trigger state before you restart the logic app by following these steps:
- In the Azure portal, open your logic app.
- On the logic app menu, under Workflows, select Workflows.
- Open a workflow, and edit any part of that workflow's trigger.
- Save your changes. This step resets the trigger's current state.
- Repeat for each workflow.
- When you're done, restart your logic app.
Restart, stop, or start a single logic app
In the Azure portal, open your logic app.
On the logic app menu, select Overview.
- To restart a logic app without stopping, on the Overview pane toolbar, select Restart.
- To stop a running logic app, on the Overview pane toolbar, select Stop. Confirm your selection.
- To start a stopped logic app, on the Overview pane toolbar, select Start.
Note
If your logic app is already stopped, you only see the Start option. If your logic app is already running, you only see the Stop option. You can restart your logic app anytime.
To confirm whether your operation succeeded or failed, on main Azure toolbar, open the Notifications list (bell icon).
Stop or start multiple logic apps
You can stop or start multiple logic apps at the same time, but you can't restart multiple logic apps without stopping them first.
In the Azure portal's main search box, enter logic apps, and select Logic apps.
On the Logic apps page, review the logic app's Status column.
In the checkbox column, select the logic apps that you want to stop or start.
- To stop the selected running logic apps, on the Overview pane toolbar, select Disable/Stop. Confirm your selection.
- To start the selected stopped logic apps, on the Overview pane toolbar, select Enable/Start.
To confirm whether your operation succeeded or failed, on main Azure toolbar, open the Notifications list (bell icon).
Disable or enable workflows
To stop the trigger from firing the next time when the trigger condition is met, disable your workflow. You can disable or enable a single workflow, but you can't disable or enable multiple workflows at the same time. Disabling a workflow affects workflow instances in the following ways:
Azure Logic Apps continues all in-progress and pending runs until they finish. Based on the volume or backlog, this process might take time to complete.
Azure Logic Apps doesn't create or run new workflow instances.
The trigger won't fire the next time that its conditions are met. However, the trigger state remembers the point at which the workflow was disabled. So, if you re-enable the workflow, the trigger fires for all the unprocessed items since the last run.
To stop the trigger from firing on unprocessed items since the last run, clear the trigger's state before you reactivate the workflow:
- In the workflow, edit any part of the workflow's trigger.
- Save your changes. This step resets your trigger's current state.
- Reactivate your workflow.
When a workflow is disabled, you can still resubmit runs.
Note
The disable workflow and stop logic app operations have different effects. For more information, review Considerations for stopping logic apps.
Disable workflow
On the logic app menu, under Workflows, select Workflows. In the checkbox column, select the workflow to disable.
On the Workflows pane toolbar, select Disable.
To confirm whether your operation succeeded or failed, on main Azure toolbar, open the Notifications list (bell icon).
Enable workflow
On the logic app menu, under Workflows, select Workflows. In the checkbox column, select the workflow to enable.
On the Workflows pane toolbar, select Enable.
To confirm whether your operation succeeded or failed, on main Azure toolbar, open the Notifications list (bell icon).
Delete logic apps or workflows
You can delete a single or multiple logic apps at the same time. Your single-tenant based logic app can include multiple workflows, so you can either delete the entire logic app or delete only workflows.
Delete logic apps
Deleting a logic app cancels in-progress and pending runs immediately, but doesn't run cleanup tasks on the storage used by the app.
In the Azure portal's main search box, enter logic apps, and select Logic apps.
From the Logic apps list, in the checkbox column, select a single or multiple logic apps to delete. On the toolbar, select Delete.
When the confirmation box appears, enter yes, and select Delete.
To confirm whether your operation succeeded or failed, on main Azure toolbar, open the Notifications list (bell icon).
Delete workflows
Deleting a workflow affects workflow instances in the following ways:
Azure Logic Apps cancels in-progress and pending runs immediately, but runs cleanup tasks on the storage used by the workflow.
Azure Logic Apps doesn't create or run new workflow instances.
If you delete a workflow and then recreate the same workflow, the recreated workflow won't have the same metadata as the deleted workflow. To refresh the metadata, you have to resave any workflow that called the deleted workflow. That way, the caller gets the correct information for the recreated workflow. Otherwise, calls to the recreated workflow fail with an Unauthorized error. This behavior also applies to workflows that use artifacts in integration accounts and workflows that call Azure functions.
In the Azure portal, open your logic app.
On the logic app menu, under Workflows, select Workflows. In the checkbox column, select a single or multiple workflows to delete.
On the toolbar, select Delete.
To confirm whether your operation succeeded or failed, on main Azure toolbar, open the Notifications list (bell icon).
Recover deleted logic apps
If you use source control, you can seamlessly redeploy a deleted Standard logic app resource to single-tenant Azure Logic Apps. However, if you're not using source control, try the following steps to recover your deleted logic app.
Note
Before you try to recover your deleted logic app, review these considerations:
You can recover only deleted Standard logic app resources that use the Workflow Standard hosting plan. You can't recover deleted Consumption logic app resources.
If your workflow starts with the Request trigger, the callback URL for the recovered logic app differs from the URL for the deleted logic app.
The run history from the deleted logic app is unavailable in the recovered logic app.>
Confirm that your logic app's storage account still exists. If the storage account was deleted, you have to first recover the deleted storage account.
On the storage account menu, under Security + networking, select Access keys.
On the Access keys page, copy the account's primary connection string, and save for later use, for example:
DefaultEndpointsProtocol=https;AccountName=<storage-account-name>;AccountKey=<access-key>;EndpointSuffix=core.windows.net
On the storage account menu, under Data storage, select File shares, copy the name for the file share associated with your logic app, and save for later use.
Create a new Standard logic app resource using the same hosting plan and pricing tier. You can either use a new name or reuse the name from the deleted logic app.
Before you continue, stop the logic app. From the logic app menu, select Overview. On the Overview page toolbar, select Stop.
From the logic app menu, under Settings, select Configuration.
On the Configuration page, update the following application setting values, and remember to save your changes when finished.
App setting Replacement value AzureWebJobsStorage Replace the existing value with the previously copied connection string from your storage account. WEBSITE_CONTENTAZUREFILECONNECTIONSTRING Replace the existing value with the previously copied string from your storage account. WEBSITE_CONTENTSHARE Replace the existing value with the previously copied file share name. On your logic app menu, under Workflows, select Connections.
Open each connection and under Settings, select Access policies.
Delete the access policy for the deleted logic app, and then add a new access policy for the replacement logic app.
Return to the logic app's Configuration page, and add any custom settings that existed on the deleted logic app.
When you're done, restart your logic app.
Troubleshoot problems and errors
New triggers and actions are missing from the designer picker for previously created workflows
Single-tenant Azure Logic Apps supports built-in actions for Azure Function Operations, Liquid Operations, and XML Operations, such as XML Validation and Transform XML. However, for previously created logic apps, these actions might not appear in the designer for you to select if your logic app uses an outdated version of the extension bundle, Microsoft.Azure.Functions.ExtensionBundle.Workflows.
To fix this problem, follow these steps to delete the outdated version so that the extension bundle can automatically update to the latest version.
Note
This specific solution applies only to Standard logic app resources that you create using the Azure portal, not the logic apps that you create and deploy using Visual Studio Code and the Azure Logic Apps (Standard) extension. See Supported triggers and actions are missing from the designer in Visual Studio Code.
In the Azure portal, stop your logic app.
On your logic app menu, select Overview.
On the Overview pane's toolbar, select Stop.
On your logic app menu, under Development Tools, select Advanced Tools.
On the Advanced Tools pane, select Go, which opens the Kudu environment for your logic app.
On the Kudu toolbar, open the Debug console menu, and select CMD.
A console window opens so that you can browse to the bundle folder using the command prompt. Or, you can browse the directory structure that appears above the console window.
Browse to the following folder, which contains versioned folders for the existing bundle:
...\home\data\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows
Delete the version folder for the existing bundle. In the console window, you can run this command where you replace {bundle-version} with the existing version:
rm -rf {bundle-version}
For example:
rm -rf 1.1.3
Tip
If you get an error such as "permission denied" or "file in use", refresh the page in your browser, and try the previous steps again until the folder is deleted.
In the Azure portal, return to your logic app's Overview page, and select Restart.
The portal automatically gets and uses the latest bundle.
Next steps
Feedback
Submit and view feedback for