cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akandis
Resolver I
Resolver I

Rollback Solution

Hi all!

 

I would like to know if there is any way to rollback a solution.

 

Scenario:

I have a Soluction called "Health Management" and I have 3 deployments with the following versions:
- 1.0.0.1

- 1.0.0.2

- 1.0.0.3 (actual)

 

What I have to do to rollback to the version 1.0.0.2?

 

Thanks 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @akandis,

 

Is your deployed solution managed or unmanaged? If it is managed, you have the ability to uninstall the solution. However, do be aware that data loss will occur for any new tables or new columns to an existing table when you uninstall the solution they were introduced in.

 

If the solution is unmanaged, unfortunately you will have to remove each component manually. Note that the same data loss scenario applies when deleting any tables or columns. 

 

The other option, and as a general best practice, is to take a backup of the environment prior to the deployment of a solution. If the deployment goes unsuccessful and requires a rollback, you can simply restore the database. Note that all data and customizations added after the backup was taken will be lost after a restore, so you'll want to ensure sufficient smoke testing occurs so that any rollback decision can be made before users are let back into the system and begin entering business data again.

 

You can review the following references for more details. 

https://docs.microsoft.com/en-us/power-platform/alm/maintain-managed-solutions

https://docs.microsoft.com/en-us/power-platform/admin/backup-restore-environments

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

 

View solution in original post

1 REPLY 1
ChrisPiasecki
Super User
Super User

Hi @akandis,

 

Is your deployed solution managed or unmanaged? If it is managed, you have the ability to uninstall the solution. However, do be aware that data loss will occur for any new tables or new columns to an existing table when you uninstall the solution they were introduced in.

 

If the solution is unmanaged, unfortunately you will have to remove each component manually. Note that the same data loss scenario applies when deleting any tables or columns. 

 

The other option, and as a general best practice, is to take a backup of the environment prior to the deployment of a solution. If the deployment goes unsuccessful and requires a rollback, you can simply restore the database. Note that all data and customizations added after the backup was taken will be lost after a restore, so you'll want to ensure sufficient smoke testing occurs so that any rollback decision can be made before users are let back into the system and begin entering business data again.

 

You can review the following references for more details. 

https://docs.microsoft.com/en-us/power-platform/alm/maintain-managed-solutions

https://docs.microsoft.com/en-us/power-platform/admin/backup-restore-environments

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,376)