Azure Logic Apps logo

How to move your Microsoft PowerAutomate Flow to Logic Apps?

This post was most recently updated on September 12th, 2021.

3 min read.

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?

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 Flow

    Browse to the Microsoft Power Automate. Login with your account. On the left-hand side, click on My flows.

  2. Export your Flow from PowerAutomate

    This 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 App

    Now, 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 editor

    Now 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 Portal

    There’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 group

    Next, 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: Retry

    If 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?

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.

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.

mm
5 1 vote
Article Rating
Subscribe
Notify of
guest
2 Comments
most voted
newest oldest
Inline Feedbacks
View all comments