Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Managed solution and Unmanaged solution

(0) ShareShare
ReportReport
Posted on by 135

Hi there,

My question are below

1. when I deploy my custom solution in production instance, this solution must be an managed solution? 

2. If I want to update or debug the production managed solution, should I export the an unmanaged solution?

3. What are the best practice of transfer the solutions between deferent instances, i.e. Dev, QA, Pro?

Thanks in advance for your reply!

  • FOR365 Profile Picture
    135 on at
    RE: Managed solution and Unmanaged solution

    Thank you all above for explanation.

  • Verified answer
    Roberto Ilidio Profile Picture
    on at
    RE: Managed solution and Unmanaged solution

    Hi, 

    I would suggest to read this document below,  with concepts and best practices regarding solution framework. 

    https://www.microsoft.com/en-us/download/details.aspx?id=57777

    This topic was also discussed here

    https://community.dynamics.com/365/f/dynamics-365-general-forum/239852/unmanaged-or-managed-solution/660636

    But note that the opinions shared in that thread occurred in 2017, and since then, solution framework platform received many improvements and new features, which make this process more reliable nowadays.

     

    Microsoft recommendation is to use managed solution in prod environment to be able to rollback the installation of the solutions and managed the version control.

  • Verified answer
    Bipin D365 Profile Picture
    28,979 Moderator on at
    RE: Managed solution and Unmanaged solution

    Hi,

    2. The issue happened in the production environment, how can I debug the code of the solution?

    What code are you trying to debug? Javascript or plugin.

    I believe you can debug both code in production directly.

    Javascript code can be debugged using Developer Tool by keeping the debugger (Hit F12)

    Plugin/Custom workflow code can be debugged using Plugin Registration tool by installing the plugin profiler. And then point your PRT to production.

    1. If I reimport the upgrade solution into the production instance, the existing solution(no matter what managed or unmanaged solution) will be covered, right? or just version update?

    Your latest solution changes will be upgraded in production instance. Your changes will be overriden in Production instance when you import the solution.

    Please mark my answer verified if i were helpful

  • FOR365 Profile Picture
    135 on at
    RE: Managed solution and Unmanaged solution

    Hi Adrian,

    Thanks for your quickly response.

    Still have some confuse:

    1. If I reimport the upgrade solution into the production instance, the existing solution(no matter what managed or unmanaged solution) will be covered, right? or just version update?

    2. The issue happened in the production environment, how can I debug the code of the solution?

    Thanks again.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: Managed solution and Unmanaged solution

    Hi FOR365,

    To answer your questions.

    1. The solution does not have to be a managed solution. It can be a managed or unmanaged solution depending on preference.
    2. I recommend making changes in your development environment solution before exporting the solution and importing the solution into your production environment.
    3. This article goes through some best practices for Dynamics 365 release management.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans