Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Import Package (Legacy) not working when importing flow from another tenant

Like (0) ShareShare
ReportReport
Posted on 11 Dec 2023 10:06:37 by 11

I am currently encountering an issue while attempting to import a flow that has been exported as a package (zip) from tenant A to tenant B.

I have frequently utilized this method in the past to effortlessly copy flows to another tenant, following these steps:

 

1. Export the flow on Tenant A and generate/save the resulting ZIP fiel

MrMaximumMax_0-1703060771646.png

 

___________________________


2. On the new tenant B: I choose "Import Package (Legacy)

 

MrMaximumMax_0-1702288689481.png

___________________________

 

3. I upload the Package Zip File, correct the connection for SharePoint and confirm with "Import"

MrMaximumMax_2-1702288859433.png

___________________________

 

4. I encounter this message but it was always manageabe as I can proceed by clicking on "Save as a new flow"

MrMaximumMax_3-1702288969932.png

 

Typically, I would be redirected to the flow editor, allowing me to swiftly adjust corresponding SharePoint lists, connections, etc. Afterwards, I simply saved the flow, and it was successfully copied to the new tenant B.

 

However, I am currently encountering an error message that did not occur in the past:

MrMaximumMax_4-1702289088664.png

 

I've attempted various flows with entirely new tenants and connections, but I consistently encounter this error message now. I've even retried scenarios from previous instances where I know this approach worked successfully. This error never surfaced in the past, and based on my frequent use of this approach, it seems to have arisen around October or November.

___________________________

 

Debugging approaches:

  • I delved into the Package's ZIP file and modified the flow's name within the "definition" JSON file, for instance, to "A."

MrMaximumMax_1-1703061220377.png

MrMaximumMax_2-1703061252115.png

 

  • Despite making these adjustments and repeating the steps, I still receive a similar error message:

 

Screenshot 2023-12-19 235204.png

 

It is certain that the name is not being retrieved from another source, as I have now changed the name to "A," and the error message reflects the new name I selected.

 

It appears that when clicking on "Save as a new flow," Power Automate automatically generates a new flow with the name "draft_[flow name from definition.json]," which is causing issues.

 

I suspect that this might be a bug.

___________________________

 

Note:

I am already aware that an alternative solution involves building a solution and then importing the entire package. However, for this particular use case, setting up such a solution is not resource-efficient.

 

From my limited perspective, I hypothesize that the "_" within the flow name is causing an issue, aligning with the error message. Nonetheless, users have no control over the automatically generated flow draft name.

  • AdamOCal Profile Picture
    3 on 04 Jan 2024 at 10:40:02
    Re: Import Package (Legacy) not working when importing flow from another tenant

    Thank you! That was really annoying me but your workaround solved it straight away. Nice!

  • MikeInCairns Profile Picture
    68 on 23 Dec 2023 at 11:06:43
    Re: Import Package (Legacy) not working when importing flow from another tenant

    I have the same issue.  Only started recently.  The suggest hack did not work for me.  I just got an unresponsive page

  • Verified answer
    MrMaximumMax Profile Picture
    11 on 21 Dec 2023 at 17:19:58
    Re: Import Package (Legacy) not working when importing flow from another tenant

    Update: Microsoft observed this behaviour and is working on fixing it;

     

    WORKAROUND:

    When the "Save as new flow" link opens in a new tab, append "?v3=false" to the end and reload the url.

     

    For example, " https://make.preview.powerautomate.com/environments/123/flows/draft_12345-XYZ?v3=false"

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 105

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 90 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 62 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading started
Loading complete