I have a powershell runbook setup to run under a managed identity. I have configured the managed identity to have the following permission sets.
However, when I execute the runbook, I get the following error each time.
Powershell Runbook Authorization_RequestDenied... Insufficient privileges to complete the operation"
The line in question is
Set-AzContext -SubscriptionId $StoredSubscriptionId
I do import "import-module Az.accounts" at the beginning with no issues.
Is there a specific RBAC role that I am missing?
Thank you.