Friday, July 19, 2019

How can I deploy MS Flow to different tenant?

Actually there is no direct way to deploy the MS Flow from one tenant to another tenant, but we can achieve this by following below simple steps:


  1. Export the MS Flow package 
  2. Change the Connection URLs and GUID of the specified Lists or Libraries
  3. Import the MS Flow package


Export the required Flow in zip format from  my flows section in flow studio https://flow.microsoft.com/



Enter the name of the package and change the Import setup to the following options based on the requirement:

“Create as new” if we are deploy this workflow in first time and the flow will be new to the environment when the package is imported.

“Update” if the flow already exists in the environment and will be updated when this package is imported.


Not required any changes from the Related resources section.


Unzip the exported file and update the below values in definition.json file

  • SharePoint destination tenant URL
  • SharePoint List/Library GUID (Where the Workflow will be attached)



After modification, zip the file and import the package to the flow studio https://flow.microsoft.com/
Give the proper name to the Flow from the Review Package content section



Authenticate the resources from Related resources section.
Now click on Import button


Thats it..once all are done you will get success message says imported successfully.




No comments:

Post a Comment