Getting a private certificate from Key Vault

Getting a certificate from key vault using PowerShell – while it isn’t obvious also isn’t hard. I’m putting this sample code here for me to use as a reference – but feel free to use & adjust it as you want. A few key points first about certificates in Key Vault. BYO certificates when loaded…

1

OAuth using PowerShell and certificate Service Principal to Azure Function App

Hi, Recently I needed a way to write PowerShell code to use a certificate backed service principal to use OAuth authentication when calling a web hook. This took longer than it should to figure out (my colleague Arian helped a lot), so I figured I may be able to save someone else some time by…


Use a Custom Script Extension to Sysprep an Azure VM

Hi All, I’ve been in a situation where I want to run sysprep on a Azure VM to create an image, hopefully without needing to login / connect directly to the VM. I thought that this was an opportunity to learn about custom script extensions. (for use in other situations as well)   in summary,…

4