Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Keeping solutions unmanaged in dev but managed in prod - any issues to mix?

Posted on by 252

I'm seeing a few articles suggesting we use managed solutions when pushing into production, so would this mean all of our custom items would be unmanaged in lower environments like Dev and Sandbox, but we'd create solutions as managed when pushing them up the dev pipeline to UAT and Prod?  Are there any differences in functionality if we're testing code as unmanaged in some organizations but managed in others?  Thanks.

  • Suggested answer
    RE: Keeping solutions unmanaged in dev but managed in prod - any issues to mix?

    If it's a managed solution, it can also reflect updates from Microsoft.

    In addition to production, it is recommended to prepare an environment for verification with a managed solution.

  • Verified answer
    RodRodriguez Profile Picture
    RodRodriguez on at
    RE: Keeping solutions unmanaged in dev but managed in prod - any issues to mix?

    Howdy,

    For a deeper dive into managed vs unmanaged, I think this is a great resource:

    docs.microsoft.com/.../introduction-solutions

    One difference in functionality and testing the code is that in an unmanaged environment when you delete an unmanaged solution all of the fields and tables that were part of the solution still exist in the environment.  When using managed solutions, unless another solution is using the field or table then it (and all the data associated with it) is removed from the system.

    If you want to have multiple dev environments/levels that isn't an issue.  Please make sure you follow the guidelines here on maintaining a healthy ALM status:

    docs.microsoft.com/.../form-alm

    I would recommend that you have at least one managed environment below your production.  This will allow you to test the deployment of the managed solutions before you get to production.  This will allow you to find any dependency or other solution import issues before you try it "live" with your production data.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans