Jonathan's Blog
Deploying Proactive CPU Monitoring for an Azure Web App with Azure DevOps Part 2

Proactive CPU Monitoring Part 2

by Jonathan Peterson Published June 15, 2022

This is a follow-up to a previous post where I create some PowerShell tasks to create an SAS URI and enable Proactive CPU Monitoring for an Azure App Service.

I decided to create a task group in DevOps so that I could easily reuse and maintain the scripts.

proactive cpu monitoring task group

Your build agent might need "Storage Account Contributor" and "Storage Blob Data Contributor" roles. If you have a self-hosted agent, you might also need to make sure the agent is listed in the Storage Account's virtual network.

I've documented each of the important variables in the description so that when this task group is used, the user can easily identify what the settings mean.

Something interesting that I learned is that you can parametrize the Azure subscription for the Azure PowerShell tasks.

Azure PowerShell task subscription parameter

You can find this task group and import it into your own organization with this file on my GitHub .

azureazure devopsProactive CPU Monitoringtask group

Remember to share this post!

X LinkedIn

Jonathan Peterson

Fifteen years of web development experience on the Microsoft tech stack creating both internal enterprise applications and public- facing websites.