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

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

Delete connection references after 'unwraping' a solution

(0) ShareShare
ReportReport
Posted on by 23
Situation:
I performed a mass migration of regular user flows from one environment to another. In total it includes about 200 flows.
During the solution import it asked me to establish a connection with all the automatically created connection references that were built when I put all the flows in a single solution.
After the import, I removed all flows from the solution, deleted connections (NOT connection references) I had established on import so users could themselves go into flows and change the connections back to their own.
Problem is that I still have the solution with 50-ish connection references inside of it. I can't delete any of the connection references due to them still having a dependency on the flows.

Is there a way to remove this dependency / delete connection references without manually going into each of the flows?
I do understand that this dependency should disappear after users re-establish connections themselves, but Im not too sure and I don't want to have this ghost solution haunting the environment as a reminder for this brim migration.


Hoping for any suggestions yall could have.

Peace : 3

P.S. Why is the forum so slow and badly designed? : D I can only select 'Licensing' as a category.
Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    67,398 Most Valuable Professional on at
    Delete connection references after 'unwraping' a solution
    You should be using Solutions to do that kind of migration. But you need to have the credentials available when importing to create the new connections if the flows are automated or recurrence triggered flows. Otherwise the user's will be prompted for their own OAuth connections when they first use any manual flow.  Your only other real option is to migrate each of the flows individually.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
     
  • profileNameGoesHere Profile Picture
    23 on at
    Delete connection references after 'unwraping' a solution
    @Pstork1
    What other method would you have me use for mass migrating non-solution flows from one environment to another and maybe even from one tenant to another?
  • Suggested answer
    Pstork1 Profile Picture
    67,398 Most Valuable Professional on at
    Delete connection references after 'unwraping' a solution
    Until all the Connection references have been cleared by user's creating new Connections there really isn't any way to do what you are requesting.  To be honest, even after the user's create new Connections the flow may still keep a reference to the Connection Reference preventing you from deleting the Solution.  Unfortunately, what you are doing is just not the way Solutions were designed to be used.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics