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.
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.
You can find this task group and import it into your own organization with this file on my GitHub .
Comments
You can also comment directly on GitHub.