How to revert the managed solution’s version in case of an erroneous upgrade (Using CLI) in Dynamics 365?

In Dynamics 365, managed solutions play a crucial role in deploying customizations and extensions across environments. However, managing solution versions can sometimes be challenging, especially when dealing with updates, dependencies, and compatibility issues.

Recently, while working on a solution update, we needed to clone the solution and provide it to the client. However, during this process, the default version was set to 9.1, and we mistakenly increased it to 9.1.0.31 instead of 9.0.1.31, as shown in the screenshot below.

revert the managed solution version

When we tried to manually import the solution with the correct version number, a dialog box appeared with an error message stating the solution for upgrade must have a higher version number than the existing solution.

revert the managed solution version 1

Since the solution contains dependencies, simply uninstalling it would result in data loss. Here’s how to fix the issue!

  1. Install the Power Platform CLI tools.
  2. Create a connection to the environment where the solution version is incorrect…

Source link

More About This Author

Inogic
Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.
 
Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.

Author: Inogic

Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.   Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.

Share This Post On
Share via
Copy link
Powered by Social Snap