web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error when trying to c...
Power Automate
Answered

Error when trying to copy a flow: xrm instance API not defined

(3) ShareShare
ReportReport
Posted on by 10

Good morning,

 

When trying to save a cloud flow with another name (create a copy), I receive the following error message, as per below screenshot: xrm instance API not defined. Does anyone know a solution to this?

image.png

 

Categories:
I have the same question (0)
  • Hikari Profile Picture
    14 on at

    Same problem here. Not sure then it started, but I spotted it a week ago.

     

    Any ideas?

  • OhNoNotAgain Profile Picture
    7 on at

    And another here as well. Tried different browsers as well...

  • Jakeiswhoiam Profile Picture
    4 on at

    Same here.... very annoying

  • Community Power Platform Member Profile Picture
    on at

    Hello. Same problem here. It's been failing for at least a week. The flows I need to replicate are pretty simple, but it is still taking a LOT longer to redo it from scratch every time rather than using the "Save as" function. Still no sign of any response here from anyone at Microsoft? Not even a "we're looking into it"?

  • petecuff Profile Picture
    6 on at

    Same error message here when copying a flow.  FWIW I can access PA on 2 orgs, and it's only on one of them.

  • Rolbear Profile Picture
    3 on at

    Same problem. Would really appreciate a solution to this. Power Automate Desktop seems to work fine for new flows, but somehow I cannot access my flows from cloud 365 flow Version.

  • Verified answer
    Garrana Profile Picture
    29 on at

    Hi Guys,

     

    Just a newbie here, so take this with a(ll) grain(s) of salt.

     

    I was facing the exact same issue until I created a Table under Data (default options, including examples), on the said environment, then proceeded to create a Connection with Microsoft Dataverse.

     

    It will take a while to create a table, it still presented the same error immediately after creating, but after 5-10 minutes all was automagically solved and I was able to copy the flow.

     

    Btw I noticed it after doing the above and after opening the same flow under Power Apps, so there is a smaller chance that opening the same flow under Power Apps did the trick.

     

    HTH.

  • petecuff Profile Picture
    6 on at

    Rightly, wrongly, doesn't matter: @Garrana's hack above worked for me so recommend trying - many thanks G... 

  • stack22 Profile Picture
    4 on at

    going off of @Garrana 's post, I simply added the Dataverse connection on the Desktop flows tab next to the Cloud flows tab in My Flows. Restarted my computer and 5-10 minutes later signed back in and successfully copied existing flow using Save As.

    Seems like Power Automate is quietly forcing users to enable Dataverse imo

  • Garrana Profile Picture
    29 on at

    Edited my post to strikethrough the past paragraph, since @petecuff and @stack22 confirmed my first guess is probably the right one.

     

    Regarding @stack22 suspicion that Power Automate is "quietly forcing" users to enable Dataverse, I believe that besides the looks, it seems more likely to me that Power Automate simply doesn't have anywhere to "save" the data on the cloud and expects you to have Dataverse tables enabled. The current copy method probably was tested against this assumption, and when it's not there it simply throws the exception. Developer hindsight and/or something assumption inherited from PowerBI/PowerApps environments, who knows.

     

    @jbtz let us know if this workaround worked for you. If it did, could you kindly mark as accepted solution to help future victims?

     

    Cheers!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard