Office 365 – Workflow options – Azure Logic Apps vs Microsoft Flow

Within my Office 365 environment I’ve got quite a few options when I want to develop workflows. The two options that I’m looking at in this post are Microsoft Flow and Azure Logic Apps.

Both interfaces are quite similar. Looking at the trigger “When an item is created in SharePoint”, the options are quite similar:

Office 365 - Workflow options - Azure Logic Apps vs Microsoft Flow Office 365 - Workflow options - Azure Logic Apps vs Microsoft Flow

But there are differences. Within Azure Logic apps you will have to set a frequency at which a list is polled for new items, where the Microsoft Flow option seems to handle things immediately.

This is exactly where we can see one of the big differences between Flow. First I thought that Flow simply sits closer to SharePoint than the Logic Apps in Azure but that is not the reason. As I checked out the twitter trigger, I’m finding the same result:

Office 365 - Workflow options - Azure Logic Apps vs Microsoft Flow

So it simply means that Flow is working like event receivers did in SharePoint and Azure Logic Apps behave more like timer jobs.

But there are more differences. When looking at the options available within the triggers. Azure Logic apps offer the option to look at the code behind the trigger.

Office 365 - Workflow options - Azure Logic Apps vs Microsoft Flow Office 365 - Workflow options - Azure Logic Apps vs Microsoft Flow

This options makes a big difference. Where Microsoft Flow seems to be a bit more comparable to SharePoint Designer Workflows where the Azure option of logic apps offers both the designer and code view. With the code of a simple workflow looking something like this:

[code lang=text]
{
“$connections”: {
“value”: {
“sharepointonline”: {
“connectionId”: “/subscriptions/44d9f6bf-5efe-4660-b55a-767b5037fbe0/resourceGroups/LogicApps/providers/Microsoft.Web/connections/sharepointonline”,
“connectionName”: “sharepointonline”,
“id”: “/subscriptions/44d9f6bf-5efe-4660-b55a-767b5037fbe0/providers/Microsoft.Web/locations/northcentralus/managedApis/sharepointonline”
}
}
},
“definition”: {
“$schema”: “https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#”,
“actions”: {},
“contentVersion”: “1.0.0.0”,
“outputs”: {},
“parameters”: {
“$connections”: {
“defaultValue”: {},
“type”: “Object”
}
},
“triggers”: {
“When_an_item_is_created”: {
“inputs”: {
“host”: {
“connection”: {
“name”: “@parameters(‘$connections’)[‘sharepointonline’][‘connectionId’]”
}
},
“method”: “get”,
“path”: “/datasets//tables/@{encodeURIComponent(encodeURIComponent(‘a4a33536-147f-4b70-bc6b-cb93652bd876’))}/onnewitems”
},
“recurrence”: {
“frequency”: “Minute”,
“interval”: 3
},
“splitOn”: “@triggerBody()?[‘value’]”,
“type”: “ApiConnection”
}
}
}
}
[/code]

 


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Avatar of Pieter Veenstra

Is your business still running on paper trails, sprawling Excel files, or ageing Access databases? There's a better way — and I can show you exactly what it looks like. I'm the Technical Director of Vantage 365, a Microsoft solutions consultancy working with clients across the UK, the Netherlands, and worldwide. For over 30 years I've been turning messy, manual business processes into clean, automated systems that save time, reduce errors, and give teams the visibility they need to make better decisions. SharePains is not just any blog run by a Microsoft MVP. Have you ever used Try-Catch in Power Automate? The original post about Try-Catch in Power Automate can still be found on this site, https://sharepains.com/2018/02/07/try-catch-finally-in-power-automate-flow/ Or have you ever used the Pieter’s method to avoid variables and speed up your flows? https://sharepains.com/2020/03/11/pieters-method-for-advanced-in-flows/ You can contact me using contact@sharepains.com

Related Posts

2 thoughts on “Office 365 – Workflow options – Azure Logic Apps vs Microsoft Flow

  1. The reason Azure Logic Apps gives you the option for frequency of checks but Flow does not is because Azure bills based on executions (without any limits other than your ability to pay), whereas Flow limits you to 5 minute intervals for triggers on the Office 365 plan, or 3&1 minute intervals on Plan 1&2 respectively.

    So your Flow interval is based on whatever plan you have, whereas Azure Logic Apps interval is based on whatever you’re willing to be billed.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading