Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

Unable to add Compliance Policy

Silver Contributor

I have enable my Global Admin role in PIM, when I try to add the  Audit CIS Microsoft Azure Foundations Benchmark 1.1.0 standard, I get an error You cannot perform this action without the following permissions over selected scope (Microsoft.Auth... When I search for this permission, I can't find anything about a Write method for the PolicyAssignments. Any idea what would be causing this or how I investigate?

4 Replies

@Dean Gross

To onboard the initiative to ASC, you need to have contributor or owner role on the scope you are assigning. There may also be a specific policy contributor role.

 

However, global admin is an AAD role on the tenant level and doesn’t by default provide full RBAC permissions on Azure resources. You can potentially elevate and assign those to yourself.

 

HTH

@Ronit Reger Thanks, I do have Contributor role for the subscription. 

Hi @Dean Gross ,

After speaking to our Azure Policy expert, she says that actually Contributor access isn’t sufficient. You’d need owner or policy contributor role to assign to that scope.

 

Does that resolve?

Thanks

--Ronit.

I m facing the same issue with making a custom policy on NSG with a tag using two built-in policies.
https://stackoverflow.com/questions/68213246/all-network-port-restricted-on-network-security-group-w...