How to move your Microsoft Power Automate Flow to Logic Apps?

This article explains how you can export a Microsoft Power Automate Flow from, well, Microsoft Power Automate, and nicely and easily import it to Azure Logic Apps. I’ll explain the process step-by-step, and also explain solutions to a few hurdles you might run into!

But first, let’s take a look at why you might want to consider taking this step in the first place, shall we?

Why move to Logic Apps?

Table of Contents

Ah, a valid question. There are plenty of possible reasons why you might want to do this – namely, scalability, licensing, availability of connectors, or because PowerAutomate is utterly broken when used with personal accounts.

Yeah – I made the mistake of creating a few cool Flows with my personal account, and then hit the wall extremely hard when half of the UI suddenly stopped working.

Anyway – one way or another, you dug yourself quite a hole, now how do you dig yourself out of it?

Solution

Time needed: 15 minutes.

How to move a Flow from Power Automate to Logic Apps?
  1. Navigate to your FlowBrowse to the Microsoft Power Automate. Login with your account. On the left-hand side, click on My flows.
  2. Export your Flow from PowerAutomateThis image has an empty alt attribute; its file name is image-16-1024x359.png

    Important: Make a mental note of the file name – you’ll need to recognize it later.
  3. Create your new Logic AppNow, navigate to Azure Portal. Do NOT create a new Logic App, though. This part is a bit convoluted.

    Instead, hit whatever weird keyboard shortcut1 that’s required to take you to search, and enter “template”.

    This image has an empty alt attribute; its file name is image-4.png
  4. Open the template editorNow we’ll want to find the place to edit our “custom template”. This happens by hitting “Build your own template in the editor“.

    This image has an empty alt attribute; its file name is image-5.png
  5. Import your flow json file to Azure PortalThere’s a very convenient “Load file” -button in the ribbon on top. Click that and select your .json file from step 2.

    This image has an empty alt attribute; its file name is image-6.png
  6. Hit “Save”Your template will look like a total mess. Depending on your Flow, it might have plenty of Resources and Parameters, but don’t worry even if you don’t recognize them – some things are named differently than in the Flow UI.

    This image has an empty alt attribute; its file name is image-7-1024x360.png
  7. Select your Subscription and Resource groupNext, you can select the resource group (and the containing subscription) you’re deploying your shiny new Logic App to.

    You can also give it a name, and (optionally) rename parameters.

    This image has an empty alt attribute; its file name is image-8.png

    Now this is just my recommendation, but any time I deploy a new Logic App, I deploy it to a new resource group, unless it’s directly related to another Logic App and will share the same connectors. So when deploying from a template, I’ll always deploy to a new Resource group.
  8. Hit “Review + create” and “Purchase”
  9. OPTIONAL: RetryIf you end up with an empty deployment (Deployment finishes with a message along the lines of “The deployment of 0 Resources successful”), simply retry. There’s a fair chance it’ll actually work the second time around, or at least you’ll get a more useful error message!

That’s it. You should now have a functional Logic App!

Possible issues and solutions?

Pause
Oh boy – plenty of issues you might run into. I started documenting them here, but this post is going to become a mess if I do – so you can find them on the site by searching or browsing the categories for LogicApps.

This blog is part of Azure Week. Check it out for more great content!

References and footnotes


  1. Who thought “G+/” was a good idea? Like that’s going to translate! In Finnish locale, that’s “G+’” because “/” most definitely is NOT in the same place for all keyboard layouts.

About the Author:

Antti Koskela is a proud digital native nomadic millennial full stack developer (is that enough funny buzzwords? That’s definitely enough funny buzzwords!), who works as a Cloud Solutions Architect for Etteplan Oyj, an engineering company that employs something like 700 devs building and fixing anything even half-digital.

He’s been a developer from 2004 (starting with PHP and Java), and he’s been working on .NET projects, Azure, Office 365, SharePoint and a lot of other stuff. He’s also Microsoft MVP for Office Development.

Reference:

Koskela, A. (2021). How to move your Microsoft PowerAutomate Flow to Logic Apps?. Available at: https://www.koskila.net/how-to-move-your-microsoft-powerautomate-flow-to-logic-apps/ [Accessed: 7th July 2021].

Share this on...

Rate this Post:

Share:

Topics:

Azure