Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Dynamics 365 solutions Source Control

Posted on by Microsoft Employee

Background

I am trying to implement application life cycle for our Dynamics 365 customisations using Azure Devops. Currently we have three environments(1 dev, 1 test and 1 production). The idea will be to:

  1. Create a base Unmanaged solution in dev.
  2. Export it
  3. Use Solution Packager to extract code and then submit to source control.
  4. After that use pipelines to.
    1. Repackage the source code using Solution Packager
    2. Deploy to the downstream environments. 

Questions

I am hoping if you could help me with the solutions, source control, and best practices around it. Creating unmanaged solution works well, but

  1. is creating patches for customisation changes best practice?
  2. If yes, then deploying patches to test and live environments the best practice? Or deploying the whole solution best practice?
  3. If using patches, how do you put patches in source control? Is the best practice to extract using Solution Packager and save as a separate branch from the master branch(which is the base solution files). If I do this, this would mean that my pipelines will deploy the whole solution instead of a patch.

 

I hope my questions make sense, and thanks a lot for taking out time for this

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans