In this article, I will provide information on how to import an existing Power Automate and explain various options we get while exporting. In Part 1 of this article we have already exported power automate as a packed (.zip) file. You can refer to that export article by clicking on this
link.
Below are the components used in this document.
Introduction
As part of a migration of existing power automates or part of development of a new automates, it is totally normal for a developer to build the power automate in one environment and then export that automate & import it to another destination environment. In this article we will have a look at the correct way and things to consider when we are importing power automate. In my example I would be importing the existing power automate as a new power automate in another destination environment. Below is the step by step way to import power automate which was exported as a packaged (.zip) file.
Open Power Automate
Browse to
here and provide your Office 365 account details to login into your account.
Select “My flows” from the left side navigation on the page.
Click on “Import” button on top of the page to start the importing process
Import Power Automate
Browse for the previously exported package (.zip) file by clicking on the “Upload” button as shown in the below screen shot.
After selecting the packaged (.zip) file, immediately the uploading of that file would start as shown in the below screen shot.
After the uploading of the packaged (.zip) file is completed, we would see below screen, informing that importing has successfully completed.
Please note that here power automate is imported and it says “Create as new” under “Import Setup” field. This is because when I exported this power automate, I used this option as this is the first time I created this automate in this destination environment. In case you already have automate in the destination environment, then export of automate should have an option as “Update”. You can refer that export article by clicking on this
link
In case you want to change the option under “Import setup” field from create as new to “update”, it can be done by clicking on the field and then selecting the “Update” from the drop down and clicking on “Save” button.
Scroll down to “Related resources” section. This would display all the resources we have used inside our power automate.
Please note that under “Import setup” field we have “Select during import”. This option is because during export we selected this option, as all these resources have to be revisited when we are importing the power automate in destination environment. In my example I have used “Approvals”, “Office 365 Outlook” and “SharePoint” resources in my power automate. The real meaning for this settings option is that URLs and other properties of these resources are to be changed when we move to another environment
Now to resolve the issues for the resources, click on each resource on “Select during import” option. And then finally choose the correct resource type and name from the list. For reference you can check below screen shot. In my example I am getting a resource type and I have selected that.
In case, no suggestions are shown, you will have to create a new connection by clicking on “Create new” option and having the setup done for that connection. Example: you might need a connection to SharePoint site or to an Outlook.
Repeat step 8 for each of your resource and then save. Final stage of your resources should be as shown in the below screen shot.
Finally click on “Import” button on the bottom of the page
Importing of the power automate will start immediately
Make sure after import is completed, we receive successfully imported message as shown in the below screen shot.
Open the power automate and test run the same to verify if import correctly brought all the resources and is working fine.
That is it. I hope you have learned something new from this article and will utilize this in your work.