Blog: 2019 January

Azure DevOps: How to update the Azure Function default Host Key in a PowerShell task

January 21, 2019, (updated on January 25, 2019), 2 comments, Software Development

For a recent project I dynamically create new Azure Functions in an Azure DevOps release pipeline. One of the requirements was to automatically update each default Host Key to a given value so that it’s easier to access the newly created HTTP functions. Because there is no easy out-of-the-box API in Azure CLI or Azure PowerShell, I wanted to share the final solution here. To update the default Azure Function Host Key in an Azure PowerShell build/release task, just follow these steps: 1. Create a new “Azure PowerShell” task in your Azure DevOps build or release pipeline 2. Choose an […] Read more...

Tags: , , ,

  Page 1 of 1