Author Box

About Us

We are Microsoft Gold partner with its presence across the United States and India. We are a dynamic and professional IT services provider that serves enterprises and startups, helping them meet the challenges of the global economy. We offer services in the area of CRM Consultation and implementation, Application development, Mobile application development, Web development & Offshore Development.

Getting Started with DevOps Tools

By Vipin Chauhan / January 4, 2021

January 4, 2021
Getting Started with DevOps Tools

Introduction

As defined by Microsoft "Devops is a compound of development (Dev) and operations (Ops), DevOps is the union of people, process and technology to continually provide value to customers."

Devops combine the different roles like development, IT, Operations, quality engineering and security to produce better and reliable product. Its main aim is to shorten the development lifecycle for a product and achieve business goal faster.

Create an Azure DevOps account

Register with New Account : Click on below link to register for DevOps Account 

http://azure.microsoft.com/en-gb/services/devops/

  • Click on Start for Free

For Dynamics 365/ CDS Environments

Steps to create an Environment

For the article purpose we will create three environment: Development, Testing, and UAT

  • Click on New Registration 
  • Type the Name of your choice to register an app and Click on Register button
  • Application ID --> Click on Copy to Clipboard button 

  • Create secrets --> Click on Certificates & Secrets. 
  • Client Secrets --> Copy Value of secret Key 
  • API Permissions: Click on API Permissions --> Click on Add a Permission --> Select APIs my organization uses --> Search Common Data Service --> Select Common Data Service --> check user_impersonation --> Click on Add Permission.
  • Click on Setting -> Select Security
  • Click on Users 
  • Select System View -> Application Users -> Click on New Button
  • Enter the account information, in User Name fill user email id, in Application ID enter the detail copied from above step and click on Save
  • Click on Manage Roles -> Check the System Administrator Role -> Click on Ok. 

Steps to configure Devops

Create Project

  •  Sign in DevOps by click on link https://dev.azure.com/. Or https://app.vssps.visualstudio.com/
  • Create a New Project à Type your preferred project name in Project Name box & click on [Create Project] Button.

Create Pipelines

  • From the left hand navigation bar, Select Pipeline and click on Create Pipeline
Note  : Azure DevOps allows you to create two types of PipeLines such us XML (Code) and YAML(UI) 
  • Click on “Use the classic editor” Link
  • Select a Source and click on Continue.
  • Select Empty Job 
  • Change the Name of PipeLine e.g. “DevOpsExample” and Click on Save & Queue. Search PowerApps and click on [Get It Free] button. 
  • Click on Install 
  • Add a Variable ->  Click on Variables -> Type Name Secret and paste your azure secret. 
  • Ping the Environment: In Search Box type : “Ping” and  Select Ping Environment -> Click on Add.

In Connection String Area :  

AuthType=ClientSecret; 
Client ID : Azure Tenant ID; 

Client Secret: $(Secret) Variable. 
URL : Tenant URL 

  • Add Power DevOps Tools -> Type in Search box “Power DevOps” -> Select Power DevOps Tool Installer -> Click on Add.
  • Add a Publish Customizations -> Type in Search box “Publish ” -> Select Publish Customizations -> Click on Add. 
  • Click on Variables -> Add a variable name “VarConnection”, which store a connection string value. 
  • Configure Publish Customizations -> In Connection String name box type the variable name e.g. $(VarConnection)
  • Add Agent Job -> Set Version à Type in Search box “Set Version ” -> Select Set Version -> Click on Add.
  • Click on Variables -> Add a variable name “SolutionName”, which store a SolutionName value.
  • Configure Set Version -> In Connection String name box type the variable name e.g. $(VarConnection) -> In Solution Name box type the variable name for solution e.g. $(SolutionName) -> In Version Number name box type the $(Build.BuildNumber).
  • For Reference please  check : https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
  • Add Export Solution  -> Type in Search box “Export ” -> Select Export -> Click on Add.
  • Configure Export Solution:
  • Add Publish build artifacts -> Type in Search box “Publish” -> Select Publish build artifacts -> Click on Add.
  • Configure Artifacts

Releases

  • Click on Releases -> Create a [New pipeline] button
  • Click on [Empty Job] link
  • Change the Name of Pipeline and click on Save button.
  • In the Stage name box type your environment name such as Testing.
  • Add Artifacts -> Click on [+ Add] link -> Select Source ->Click on [Add] Button.
  • Adding task to pipeline -> Click on [1job,0 task] link or Click on Tasks tab
  • Add Power Devops Tools -> Type in Search box “Power DevOps” -> Select Power DevOps Tool Installer -> Click on Add.
  • Add Import Solution -> Type in Search box “Import” -> Select Import Solution -> Click on Add.
  • Configure Import Solution

For Test – Click on Create Release -> Click on [Create] Button

  • Configure the UAT Environment in Release : à Click on Clone.
  • Rename it with UAT -> Click on Save.

Hope this article is useful.

Cynoteck is a Microsoft Gold Partner and Power Platform Partner. With our knowledge across the Microsoft Stack we build solutions that best fit your needs. We help you identify and utilize your organizational data to the best which lets you make intelligent decisions for your growth.

Connect our team if you are interested in implementing Power Platform in your business

Introduction

As defined by Microsoft “Devops is a compound of development (Dev) and operations (Ops), DevOps is the union of people, process and technology to continually provide value to customers.”

Devops combine the different roles like development, IT, Operations, quality engineering and security to produce better and reliable product. Its main aim is to shorten the development lifecycle for a product and achieve business goal faster.

Create an Azure DevOps account

Register with New Account : Click on below link to register for DevOps Account 

http://azure.microsoft.com/en-gb/services/devops/

  • Click on Start for Free

For Dynamics 365/ CDS Environments

Steps to create an Environment

For the article purpose we will create three environment: Development, Testing, and UAT

  • Click on New Registration 
  • Type the Name of your choice to register an app and Click on Register button
  • Application ID –> Click on Copy to Clipboard button 

  • Create secrets –> Click on Certificates & Secrets. 
  • Client Secrets –> Copy Value of secret Key 
  • API Permissions: Click on API Permissions –> Click on Add a Permission –> Select APIs my organization uses –> Search Common Data Service –> Select Common Data Service –> check user_impersonation –> Click on Add Permission.
  • Click on Setting -> Select Security
  • Click on Users 
  • Select System View -> Application Users -> Click on New Button
  • Enter the account information, in User Name fill user email id, in Application ID enter the detail copied from above step and click on Save
  • Click on Manage Roles -> Check the System Administrator Role -> Click on Ok. 

Steps to configure Devops

Create Project

  •  Sign in DevOps by click on link https://dev.azure.com/. Or https://app.vssps.visualstudio.com/
  • Create a New Project à Type your preferred project name in Project Name box & click on [Create Project] Button.

Create Pipelines

  • From the left hand navigation bar, Select Pipeline and click on Create Pipeline
Note  : Azure DevOps allows you to create two types of PipeLines such us XML (Code) and YAML(UI) 
  • Click on “Use the classic editor” Link
  • Select a Source and click on Continue.
  • Select Empty Job 
  • Change the Name of PipeLine e.g. “DevOpsExample” and Click on Save & Queue. Search PowerApps and click on [Get It Free] button. 
  • Click on Install 
  • Add a Variable ->  Click on Variables -> Type Name Secret and paste your azure secret. 
  • Ping the Environment: In Search Box type : “Ping” and  Select Ping Environment -> Click on Add.

In Connection String Area :  

AuthType=ClientSecret; 
Client ID : Azure Tenant ID; 

Client Secret: $(Secret) Variable. 
URL : Tenant URL 

  • Add Power DevOps Tools -> Type in Search box “Power DevOps” -> Select Power DevOps Tool Installer -> Click on Add.
  • Add a Publish Customizations -> Type in Search box “Publish ” -> Select Publish Customizations -> Click on Add. 
  • Click on Variables -> Add a variable name “VarConnection”, which store a connection string value. 
  • Configure Publish Customizations -> In Connection String name box type the variable name e.g. $(VarConnection)
  • Add Agent Job -> Set Version à Type in Search box “Set Version ” -> Select Set Version -> Click on Add.
  • Click on Variables -> Add a variable name “SolutionName”, which store a SolutionName value.
  • Configure Set Version -> In Connection String name box type the variable name e.g. $(VarConnection) -> In Solution Name box type the variable name for solution e.g. $(SolutionName) -> In Version Number name box type the $(Build.BuildNumber).
  • For Reference please  check : https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
  • Add Export Solution  -> Type in Search box “Export ” -> Select Export -> Click on Add.
  • Configure Export Solution:
  • Add Publish build artifacts -> Type in Search box “Publish” -> Select Publish build artifacts -> Click on Add.
  • Configure Artifacts

Releases

  • Click on Releases -> Create a [New pipeline] button
  • Click on [Empty Job] link
  • Change the Name of Pipeline and click on Save button.
  • In the Stage name box type your environment name such as Testing.
  • Add Artifacts -> Click on [+ Add] link -> Select Source ->Click on [Add] Button.
  • Adding task to pipeline -> Click on [1job,0 task] link or Click on Tasks tab
  • Add Power Devops Tools -> Type in Search box “Power DevOps” -> Select Power DevOps Tool Installer -> Click on Add.
  • Add Import Solution -> Type in Search box “Import” -> Select Import Solution -> Click on Add.
  • Configure Import Solution

For Test – Click on Create Release -> Click on [Create] Button

  • Configure the UAT Environment in Release : à Click on Clone.
  • Rename it with UAT -> Click on Save.

Hope this article is useful.

Cynoteck is a Microsoft Gold Partner and Power Platform Partner. With our knowledge across the Microsoft Stack we build solutions that best fit your needs. We help you identify and utilize your organizational data to the best which lets you make intelligent decisions for your growth.

Connect our team if you are interested in implementing Power Platform in your business

5 2 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x