Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Programmatically assign an existing Flow to an existing Solution

I can create a flow programmatically by using and using the POST method... this creates a flow (not under My Flows but in the Solutions flows).

Questions are:

How can I programmatically add a solution?

How can I programmatically assign an existing flow to an existing solution? What is the endpoint for these requests?


Community Support
Community Support


Hi @pabloglombo ,


I'm afraid I haven't found any documentation to support the ability to programmatically assign an existing Flow to an existing Solution.


Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

the way is to call the api/data/v9.1/AddSolutionComponent  endpoint.

However now my question is now to create a new Connection programmatically. I could create it manually and get the connection id from the URL link but I need all this to be automated.



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,493)