'How to migrate and existing logic app from consumption model to the new standard model?

There is a new single tenant standard model for Azure Logic Apps (https://docs.microsoft.com/en-us/azure/logic-apps/single-tenant-overview-compare). Is there an easier way to migrate existing logic apps build on the consumption model to the new standard model other than recreating the app from scratch?



Solution 1:[1]

One of the workarounds that you try is to use the code view of your consumption workflow and paste it into your standard logic app workflow. To do so, first, create your workflow in your standard logic app, then proceed to the previous step. Also, we need to make sure that "kind": "Stateful" or "kind": "Stateless" is being added after the definition.

EXAMPLE: Here is the workflow that I'm using in my logic app - consumption plan.

enter image description here

And this is the workflow that I was able to pull after I pasted the code view of the consumption plan to standard.

enter image description here

Solution 2:[2]

there seems to be no documented approved way to convert a consumption LA to standard in any traditional way. maybe for some simple logic apps, but anything complicated would not work. i believe this is because some connectors are different in standard LA vs consumption. the SQL connector for example has a built-in version as well as an Azure version.

I just tested this in my environment by copying the "schema" portion of code from the "export template" blade of a moderately complicated test consumption app and tried to paste this into the code for a standard stateless LA (keeping the "kind": "Stateless" parameter) and i ran into errors of some connectors not being found when i tried to save.

enter image description here

To fix this i would have to address each connector individually, so i may as well had just created the standard LA from scratch

consumption:

consumption design

standard:

standard LA design

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Duan Walker