ARM模板-角色分配 [英] ARM Template - Role Assignment
问题描述
跨度>
我正在寻找模板可以分配对多个订阅的访问权限.就我而言,我们是CSP,我可以访问多个 客户租户(目录).当前,如果我想将用户的阅读器权限分配给所有客户的订阅,则必须一个接一个地进行.我想通过单个脚本完成此任务.您有这种类型的脚本吗?谢谢Sakaldeep
I am looking for the template which can assign access to the multiple subscription. In my case, we are CSP and I have access to multiple customer tenants (Directories). Currently if I want to assign reader permission of a user to the all customer's subscription then I have to do it one by one. I want to this task get done by a single script. Do you have such types of script. Thank you Sakaldeep
Sakaldeep Yadav
Sakaldeep Yadav
推荐答案
当前,我们没有示例脚本.但是,我建议您尝试提升对根范围的访问权限,然后在订阅之间应用更改.
以下是提升访问权限的步骤- https://docs.microsoft.com/zh-CN/azure/role-based-access-control/elevate-access-global-admin .看看是否有帮助.
Currently, we do not have a sample script for this. However, I would suggest you to try elevate your access to root scope and then apply changes across subscriptions.
Here are steps to elevate access - https://docs.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin. See if this helps.
上投票 .要提供有关您的论坛体验的其他反馈,请单击 这里
If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click here
这篇关于ARM模板-角色分配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!