Possible to create a policy that will automatically assign user/group RBAC roles based on tags

darksaber 1 Reputation point
2021-09-28T14:48:24.733+00:00

Is it possible to create a policy that will automatically assigned users/groups to RBAC roles for an RG based on the tags? If so, can you reference a template for this?

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
666 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
793 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 21,621 Reputation points Microsoft Employee
    2021-09-29T22:15:10.577+00:00

    Hi @darksaber , Have you seen this document about creating an ARM template? I believe you can use this to automatically assign roles. I don't have an exact sample for this but there should be enough information there to piece it together. If you have any questions about it please let me know and I can help!

    If this answer helped you please mark it as "Verified" so other users may reference it.

    Thank you,
    James

    0 comments No comments