DevOps - Implementation Of CI/CD In Microsoft Dynamics CRM

Introduction

DevOps has evolved through the collaboration of two important aspects of Software Development, Development and Operations, ensuring that what is developed by the team is deployed to the respective servers with minimal or no issues in an automated manner.

Problem Implementation

I had been working as deployment lead for a project wherein we has two different Office 365 tenants with almost 50+ instances of Dynamics CRM and 4+ Teams working over different aspects of the project including:
In this type of setup, as a deployment lead it was next to impossible to manage each and every deployment manually, given that the responsibilities included:
The above process was error prone due to multiple reasons and a one was no proper tracking of code which had been pushed by developers in multiple releases.
After multiple discussions and brain storming it was decided to implement DevOps to automate this entire process.
Pre-requisite

Implementation Steps

Approach

Creating a Continuous Integration Pipeline

DevOps - Implementation Of CI/CD In Microsoft Dynamics CRM
As per the need and requirement of the project you can configure and code commit to branch as an auto trigger point for creation of build after the successful code commit.

Creating a Continuous Deployment Pipeline