At the moment I am middle in the process of writing my ARM templates for deploying an Azure DevTest Lab environment based on an Azure DevOps CI/CD pipeline. Unfortunately not all the options you can configure from the Azure portal are exported by the automation script option of the resource group or are available within the Azure Resource Explorer . So much of the information you need you have to find in the REST API documentation of DevTest Labs. To find out what the results are from the Policies - List GET method I need to query the REST API. I will be using the Postman app for this purpose. To query the Azure REST API you will need to be authenticated. You can do this in two ways: with your own Microsoft/Azure AD account or with a service principal . Because of the ad-hoc character of my research the Microsoft account route is the one I will use. Retrieving bearer token To retrieve the bearer token of my Microsoft account I need to authenticate myself. For this purpose we w...
A blog about Dev/Ops in a Microsoft related integration environment