Hey, theres some good reference material here:
Under Sample scripts.
I use a Managed Identity in most of my own Runbooks:
$AzureContext = (Connect-AzAccount -Identity).context
Feel free to reference the code used to build a base:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'd like to ask some reference on about migrating existing Run as Account runbooks to Managed Identity using PowerShell code?
Thanks,
Jovsp
Hey, theres some good reference material here:
Under Sample scripts.
I use a Managed Identity in most of my own Runbooks:
$AzureContext = (Connect-AzAccount -Identity).context
Feel free to reference the code used to build a base: