Azure Runbooks - 需要权限

Azure Runbooks - Privilege required

我们在 Tennant 中有多个订阅,我们有一个只有少数人可以访问的受限订阅。

我们需要使用 Azure 自动化 Runbook 为订阅中的多个资源配置诊断设置,并将其指向受限订阅中的日志分析工作区。

我们如何做到这一点?我们需要创建服务主体吗?或者 运行 作为帐户?或者是其他东西 ?

感谢您的帮助, 凯利

基于 this reference, your requirement should be feasible by having one Azure RunAs Automation account in a subscription and running it's runbook(s) across multiple subscriptions. Having said that, the RunAs account would need appropriate permissions on all those multiple subscriptions. For more information w.r.t configuring permissions to access resources in another subscription, please refer this 文档。

希望对您有所帮助!!