最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Insufficient Privileges running Powershell Runbook as Managed Identity - Stack Overflow

programmeradmin4浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论