The Azure DevOps tools provide access to the Azure environment to create, manage and monitor Azure Cloud resources
Azure Web Portal
Available at dev.azure.com
Azure Command Line Interface
Use the terminal to interact with the Azure Cloud
Installation
Latest instructions at it from bit.ly/AzureCLI
At the time of writing to install the CLI on Windows, execute the command in PowerShell
winget install --exact --id Microsoft.AzureCLI
Extensions
Azure DevOps Extension – Adds DevOps specific functionality. To install execute in the terminal
az extension add --name azure-devops
Configuration
Set the default organization, so it does not have to be included in every command. In the terminal execute
az devops configure --defaults organization=https://dev.azure.com/MY_ORGANIZATION
Authentication
To log into Azure DevOps services use the Microsoft Entra ID – formerly known as Azure Active Directory (Azure AD). The Microsoft Identity platform provides two primary authentication patterns for Azure DevOps access.
User delegation (OAuth)
We will use this for the Azure DevOps CLI. Created for user facing tools, like web and desktop applications, command line interfaces. Formerly known as User Accounts. See Build Azure DevOps integrations with Microsoft Entra OAuth apps
Application identity (service principals and managed identities)
For background services, CI/CD pipelines, automated tools. Formerly known as Service Accounts.. See Use service principals and managed identities in Azure DevOps