cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cooper01
Solution Supplier
Solution Supplier

Duplicate solution

Is it possible to create a Azure DevOps pipeline which creates a copy of a solution in the same environment? I have been trying to use the logic shown in blogs to export from a dev environment and import to a QA/PROD environment but haven't gotten this working when I want to stay in the same environment.

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks for the response @cchannon. Forgot to update the post but I did get this to work. I created a branch of my solution in ADO, changed the unique name of the solution in Solution.xml, and imported using a pipeline.

View solution in original post

3 REPLIES 3
cchannon
Super User
Super User

So I take it you're trying to export a solution, make a small change, then re-import it into the same environ, but you're hitting an issue where your change isn't reflected in the target environment?

 

This might be because the solution version number is still the same as what's already in the environ, so Dataverse isn't even inspecting its contents on import. Have you tried just incrementing the solution number in the solution.xml when you make whatever other change(s) you are making?

cchannon
Super User
Super User

Also, yes, you can make a copy of a solution in the same environment using PowerShell and webapi calls but it would be quite a bit of work. I suspect there is probably a more direct way to achieve your core objective (hence the previous post)

Thanks for the response @cchannon. Forgot to update the post but I did get this to work. I created a branch of my solution in ADO, changed the unique name of the solution in Solution.xml, and imported using a pipeline.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,151)