SlideShare a Scribd company logo
Zero to DevOps - Source Control and
Release Strategy for Dynamics 365
Solutions
Shane Carvalho
Consultant | Dynamics 365 | Oakton
Hi! I’m Shane Carvalho
• Geek. Developer. Blogger.
• Mobile to multi-tenant SASS solutions in the .NET ecosystem.
• Dynamics CRM 4  Dynamics 365.
• Passion for ALM and DevOps.
• Automate everything!!!
nullfactory.net github.com/shanec- @shanec_
Hi! I’m Shane Carvalho
VehicleBookingModule_1_0_0_0_20170102.zip
VehicleBookingModule_1_0_0_0_20170217.zip
VehicleBookingModule_1_0_0_0_20170320.zip
VehicleBooking.Plugins
VehicleBooking.Workflows
Zero To DevOps - Source Control and Release Strategy for Dynamics 365 Solutions - Crm Saturday 2017
But, wouldn’t it be nice to …
• Automatically maintain a history of what went into a release?
• What new features were included?
• What bugs were fixed?
• To have a single source of truth (not dependent on a CRM instance)
• Rebuild your custom plugin/workflow assemblies – inject them into
your CRM solution as part of a single build.
• Rollback individual artifacts or commits.
• Compare differences between releases.
• Automate the entire deployment a CRM solution with the click of a
button?
The Solution
SolutionPackager.exe
Official CRM SDK
Individual Parts
The Solution
SolutionPackager.exe
Official CRM SDK
Individual Parts
The Solution
Project Structure
SolutionPackager.exe
Official CRM SDK
Visual Studio Solution
Official CRM SDK via NuGet Packages
Helper Scripts (via Microsoft.Xrm.Data.PowerShell module)
Source Control – Build Definition
The Solution
Project Structure
SolutionPackager.exe
Official CRM SDK
Visual Studio Solution
Official CRM SDK via NuGet Packages
Deployment – Release Definition
Helper Scripts (via Microsoft.Xrm.Data.PowerShell module)
Source Control – Build Definition
The Solution
Project Structure
SolutionPackager.exe
Official CRM SDK
Visual Studio Solution
Official CRM SDK via NuGet Packages
Deployment – Release Definition
Scaffolding via Yeoman generator (generator-nullfactory-xrm)
Helper Scripts (via Microsoft.Xrm.Data.PowerShell module)
Development
Environment
CRM Developer –
Technical
CRM Developer –
Functional
CRM Developer –
Technical
Build / Release Manager
CI Build
“Release” Build Deploy to UAT UAT
Environment
Pull Solution
Typical Application Lifecycle
Apply Versioning
The Challenge - Demo
Development
Environment
UAT
Environment
VSTS using Git Team Build Release
Management
Now, what does this mean?
No more “Golden” CRM Instance
Deployment is not dependent on a source CRM Instance
A Single Source of Truth
April 3.0x
Release
Bug Fix #10 Feature X
Partial
Feature X
Done
Sprint 4 QA
Release
Point in Time / Commits
The Repository is the Source of Truth
A standard way of storing and managing projects across the organization.
Project A & B
Developer
Project C Developer
Project A Project B Project C
Consistent way of Managing Projects
Traceability
User Story / Feature
Task
Bug
CommitAssociated with
MS Build
Commit
Task
Commit
Task
Commit
Commit
Commit
Commit
Build 1
Build 2
Build 3
Automatically maintain a history of what went into a release.
Associated with
Associated with
Associated with
Quality of Artifacts – Integrity of Solution
Ensure that your product can be built and deployed at any given time
MS Build
Continuous Integration / Scheduled (nightly) Build
Commit Trigger
3AM Week Nights
Continuous Deployment
Release
Success
Success
Automated
Consistently Reproducible Deployments
QA
UAT
PROD
Form of Documentation
VSTS Release
Documentation
Environment Specific Configuration
Deployment Steps + Secure Configuration
Dynamics 365
Environment
Visual Studio
Team Services
VSTS MS Build
VSTS Release
Repository Build + Test Release
Bring Your Own Infrastructure
Deployment Guy Authorise Releases
QA Release Approver
UAT Release Manager
or
Approvers Group
Things to keep in mind…
Dependence on the SDK tools
Buy-In of the team
Not a silver bullet
You still have to follow the best practices when developing and deploying CRM Solutions.
DevOps is people following a process enabled by products to deliver
value to our end users. – Donovan Brown
More information available at http://nullfactory.net
generator-nullfactory-xrm
[https://github.com/shanec-/generator-nullfactory-xrm]
http://nullfactory.net http://github.com/shanec-
Thank You
DesignedbyFreepikfromwww.flaticon.com
programmerbyChanutisIndustriesfromtheNounProject
designedbyfromFlaticon
Thank you
Step1
Visual Studio Solution
Scripts + Toolset
Generate scaffold
Demo Recap – Scaffolding
Pull-CrmSolution.ps1
SolutionPackager.exe
Plugins Project
Workflows Project
Web resources Project
Development
Environment
Export
Step2
Repository
Visual Studio Solution
Demo Recap – The Setup
Build
SolutionPackager.exe
Step3
Repackage Managed.zip
Unmanaged.zip
MS Build
Step4
Testing Environment
Deploy-CrmSolution.ps1
Release Management
Demo Recap – Build and Release

More Related Content

PPTX
Source Control and Release Strategy for Dynamics 365 Solutions
PDF
Essential SDK Tools for Dynamics 365/CRM DevOps Journey
PDF
Continuous Delivery for Dynamics 365/CRM
PDF
DevOps for Dynamics 365/CRM - Summit EMEA 2017 Amsterdam
PDF
Continuous Delivery with Dynamics CRM - extremeCRM 2014 Barcelona
PDF
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
PDF
Continuous Integration for Dynamics 365/CRM
PDF
Silverlight & Microsoft CRM Development - extremeCRM Berlin 2012
Source Control and Release Strategy for Dynamics 365 Solutions
Essential SDK Tools for Dynamics 365/CRM DevOps Journey
Continuous Delivery for Dynamics 365/CRM
DevOps for Dynamics 365/CRM - Summit EMEA 2017 Amsterdam
Continuous Delivery with Dynamics CRM - extremeCRM 2014 Barcelona
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
Continuous Integration for Dynamics 365/CRM
Silverlight & Microsoft CRM Development - extremeCRM Berlin 2012

What's hot (20)

PPTX
Ordina SOFTC Presentation - Deployment with TFS Build and Workflow
PDF
Automated Testing for Dynamics CRM 1 - CRMUG 2014
PDF
Release Management in TFS 2015
PDF
Tfs 2015 Upgrade Tips and Tricks
PPTX
[Curitiba DEV DAY] - Novidades do TFS 2015
PDF
What's new for VSTS & TFS
PDF
DevOps with Visual studio Release Management (Pieter Gheysens)
PPTX
Azure Integration DTAP Series, How to go from Development to Production – Par...
PPTX
DevOps - Continuous Integration & Continuous Deployment - with Microsoft & Op...
PDF
Aws, play! couch db scaling soa in the cloud
PPTX
Team Foundation Server - Source Control
PDF
One-Click Deployments - CRMUG London 2014
PPTX
Mvp skill saturday EP15 -O365 updates - OCT 2019
PDF
Production - Designing for Testability
PPTX
PPTX
Set up Continuous Integration using SalesforceDX and Jenkins
PPTX
Tce automation-d4
PPTX
Architecture in real
PPTX
#SPFestDc dev302 Is it possible to do #DevOps with the SharePoint Framework?
PPT
Dependency Injection in Silverlight
Ordina SOFTC Presentation - Deployment with TFS Build and Workflow
Automated Testing for Dynamics CRM 1 - CRMUG 2014
Release Management in TFS 2015
Tfs 2015 Upgrade Tips and Tricks
[Curitiba DEV DAY] - Novidades do TFS 2015
What's new for VSTS & TFS
DevOps with Visual studio Release Management (Pieter Gheysens)
Azure Integration DTAP Series, How to go from Development to Production – Par...
DevOps - Continuous Integration & Continuous Deployment - with Microsoft & Op...
Aws, play! couch db scaling soa in the cloud
Team Foundation Server - Source Control
One-Click Deployments - CRMUG London 2014
Mvp skill saturday EP15 -O365 updates - OCT 2019
Production - Designing for Testability
Set up Continuous Integration using SalesforceDX and Jenkins
Tce automation-d4
Architecture in real
#SPFestDc dev302 Is it possible to do #DevOps with the SharePoint Framework?
Dependency Injection in Silverlight
Ad

Similar to Zero To DevOps - Source Control and Release Strategy for Dynamics 365 Solutions - Crm Saturday 2017 (20)

PPTX
Five ways to improve Quality and Productivity of your Development
PPTX
Sps monaco vincent biret spfx devops
PDF
Salesforce CI/CD - A strategy for success
PDF
Grails & DevOps: continuous integration and delivery in the cloud
PPTX
Accelerate Sitecore DevOps on Microsoft Azure
PPTX
Moving 65,000 Microsofties to DevOps with Visual Studio Team Services
PPTX
Agility and Control from AWS [FutureStack16]
PPTX
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
PPTX
.netcampus2015 office365dev
PDF
DevOps in the Amazon Warehouse - Shawn Gandhi
PPTX
#spsclt18 vincent biret #spfx #devops
PDF
Continuous delivery @wcap 5-09-2013
PPTX
CI/CD - A strategy for success (North Africa Dreamin' Prez)
PPTX
BizDevOps – Delivering Business Value Quickly at Scale
PDF
Salesforce cicd integration a quick guide
PDF
Spca2014 sp ci with tfs online and azure matthias einig
PPTX
Agile & DevOps - It's all about project success
PPTX
Continuous Testing 2016
PPTX
Continuous Testing
PPTX
DevOps For Everyone: Bringing DevOps Success to Every App and Every Role in y...
Five ways to improve Quality and Productivity of your Development
Sps monaco vincent biret spfx devops
Salesforce CI/CD - A strategy for success
Grails & DevOps: continuous integration and delivery in the cloud
Accelerate Sitecore DevOps on Microsoft Azure
Moving 65,000 Microsofties to DevOps with Visual Studio Team Services
Agility and Control from AWS [FutureStack16]
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
.netcampus2015 office365dev
DevOps in the Amazon Warehouse - Shawn Gandhi
#spsclt18 vincent biret #spfx #devops
Continuous delivery @wcap 5-09-2013
CI/CD - A strategy for success (North Africa Dreamin' Prez)
BizDevOps – Delivering Business Value Quickly at Scale
Salesforce cicd integration a quick guide
Spca2014 sp ci with tfs online and azure matthias einig
Agile & DevOps - It's all about project success
Continuous Testing 2016
Continuous Testing
DevOps For Everyone: Bringing DevOps Success to Every App and Every Role in y...
Ad

Recently uploaded (20)

PDF
Nekopoi APK 2025 free lastest update
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
AI in Product Development-omnex systems
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Introduction to Artificial Intelligence
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administration Chapter 2
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
System and Network Administraation Chapter 3
Nekopoi APK 2025 free lastest update
Odoo Companies in India – Driving Business Transformation.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
AI in Product Development-omnex systems
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Reimagine Home Health with the Power of Agentic AI​
Upgrade and Innovation Strategies for SAP ERP Customers
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Introduction to Artificial Intelligence
Navsoft: AI-Powered Business Solutions & Custom Software Development
CHAPTER 2 - PM Management and IT Context
history of c programming in notes for students .pptx
System and Network Administration Chapter 2
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Adobe Illustrator 28.6 Crack My Vision of Vector Design
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Operating system designcfffgfgggggggvggggggggg
System and Network Administraation Chapter 3

Zero To DevOps - Source Control and Release Strategy for Dynamics 365 Solutions - Crm Saturday 2017