question

BernardErvin-6467 avatar image
0 Votes"
BernardErvin-6467 asked SwathiDhanwada-MSFT commented

Cannot assign a policy to Subscription or Resource Group from console

When I try to assign a policy to Subscription or Resource Group from the console, I get the error message: You cannot perform this action without the following permissions over selected scope (Microsoft.Authorization/PolicyAssignments/write)



199941-image.png


azure-policy
image.png (61.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

soysoliscarlos avatar image
0 Votes"
soysoliscarlos answered

Hi @BernardErvin-6467

Thank you for asking this question on the Microsoft Q&A Platform.

Please validate that your user has this permission Microsoft.Authorization/PolicyAssignments/write

If you do not have it ask the global Administrator for that permission.

Hope this helps,
Carlos Solís Salazar


Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SwathiDhanwada-MSFT avatar image
0 Votes"
SwathiDhanwada-MSFT answered SwathiDhanwada-MSFT edited

@BernardErvin-6467 Welcome to Microsoft Q&A Platform and thanks for your query. Adding further to @soysoliscarlos, you would need certain permissions to manage Azure Policies.

For more information, refer below documents

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KenPuckett-1348 avatar image
0 Votes"
KenPuckett-1348 answered SwathiDhanwada-MSFT commented

I have the same problem...trying to assign a policy to a resource group but getting the error about permissions. I have Owner rights for the entire subscription but I still get the error message. I even tried giving myself the explicit Microsoft.Authorization/PolicyAssignments/write permissions on the resource group but I still get the error whenever I try to assign policy. I'm thinking it's a glitch, because I was able to assign a policy yesterday to the very same resource group (I'm evaluating Azure Policy features).

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KenPuckett-1348 When you have permissions as I mentioned above, you should be able to assign policy without any issue. If you are still facing the issue, kindly raise support ticket with our technical team by following the process mentioned here. They will be able to dig through and provide you with a resolution.


0 Votes 0 ·