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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Rollback Solution

(0) ShareShare
ReportReport
Posted on by

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 🙂

I have the same question (0)
  • Verified answer
    ChrisPiasecki Profile Picture
    6,424 Most Valuable Professional on at

    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.

     

     

  • Rob Boyers Profile Picture
    8 on at

    Assuming you are working with managed solutions, please read this link 

    Maintain managed solutions (Microsoft Dataverse) - Power Platform | Microsoft Docs

  • virakones Profile Picture
    406 on at

    @ChrisPiasecki @RobBoyers 

    When reading the documentation here: Maintain managed solutions (Microsoft Dataverse) - Power Platform | Microsoft Docs


    "If you want to go back to the behavior in a previous version, simply re-install the previous version. This overwrites any solution components with the definitions from the previous version but does not remove solution components added in the newer version. Those newer solution components remain in the system but have no effect because the older solution component definitions will not use them.

    During the installation of a previous version of a solution Dataverse will confirm that the person installing the previous version wants to proceed."


    Reinstalling the solution is described - however, when I'm in the make.powerapps dashboard and attempt to import a solution of a lower version, it won't let me since it's expecting a higher version number


    What does "reinstall" mean in this description?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi. Did you get an answer to this question?

    Thanks

  • Sreenath Desaraju Profile Picture
    23 on at

    Hi @virakones, were you able to crack the statement mentioned in that documentation? Is there anyone who can help what reinstall previous version means?

  • virakones Profile Picture
    406 on at

    Nothing yet, aside from deleting the managed solution and the "reinstalling:" (importing) as the lower version solution, resharing my apps, etc. I had not found an easy solution to rollback unfortunately.

  • Sreenath Desaraju Profile Picture
    23 on at

    Thank you for the response. I tried one way but not sure if it’s supported or not. I have the previous version of solution zip file. I’ve extracted it, updated the solution.xml file by incrementing the solution version in version tag, rezipped it and deployed the solution. By this way, without touching any components and just by incrementing the solution version, I was able to restore to its previous state(not really to the previous version number)

  • nmasmo Profile Picture
    93 on at

    @Sreenath01  This seems like a creative solution and I am interested in it. But is this the "right" way to do it? My concern is that there may be some unexpected side effects if I do it this way...

  • Sreenath Desaraju Profile Picture
    23 on at

    Hello @nmasmo, there won't be any side effects. We did this in production environment and the release was successful without any issues. Microsoft also suggested the same when I raised a ticket with them for the support. You are just incrementing the solution version in xml but not other tags and files in the folder. But this method is a prone to manual errors. Developer/deployment admin needs to do this change carefully.

    Lastly, this idea can be used only in emergency cases as MS support suggested to either go Devops automation or restore environment approach in case of rollback.

  • Sreenath Desaraju Profile Picture
    23 on at

    Hello @RobBoyers and @virakones, I have got this documentation corrected. The rollback steps mentioned earlier were not applicable for manual approach. That was for only automation. I raised a ticket with Microsoft support and got that content deleted as the approach was misguiding the developers. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard