Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
793 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
@Omer Jesus Gonzalez Vizcaino Groups cannot be sent as a parameter in Azure Policy. However, you can use the "If" function in the policy definition to conditionally apply the policy based on the list of users.
Here is snippet of policy code.
{
"not":
{
"field": "Microsoft.Authorization/roleAssignments[*].principalId",
"in": "[parameters('excludedUserEmails')]"
}
}