PowerShell Script: Enable Just in Time Access to Azure Virtual Machine
March 8, 2022 Azure Security, Azure Virtual Machine, Powershell 0 Comments
Security is excellent and much needed, but sometimes a delay when we have a lot of plates spinning simultaneously.
In my case, when logging into a Windows VM running in my Azure tenant from my house, I have to log into Azure, find the VM, and then request Just in Time access.
Multiple straightforward steps, though nonetheless, multiple steps.
Instead, just run this script.
Modify the variables at the top of the script, and you should be good to go.