Using MSI with PowerShell in an Azure Function for AzureRM Commands
Update: Azure Functions V2 and V3 support using Powershell in a GA’ed fashion. Please use these versions over the experimental V1 version that does not have any support. Code examples can be found in the link below for getting the token using PowerShell, Dotnet, ect. Also the GA’ed version of the PowerShell uses PowerShell Core…
Automate the Creation of an Azure Function with an Event Grid Subscription in PowerShell
****This blog is out of date due to the new Eventgrid and functions integrations****** My colleague, Sangita Bhor, was recently working on a case where we needed to automate the deployment of an Azure Function and Event Grid Subscription. The difficulty here is that there isn’t an API from functions to get the web hook…
Checking the Status of an Azure Web App Swap using PowerShell
This past week I was working with a customer who wanted to check the status of a swap with an Azure Web App using TFS. One option would be to use the Swap deployment task and the other would be to query the status using PowerShell. In order to do so we query the Activity…