Deny Assignment

rdecker 26 Reputation points
2021-10-11T21:18:59.713+00:00

Unable to delete VM/RG with deny assignment. I've elevated my permissions in Azure AD per another article I read but I'm still unable to delete.

Failed to stop the virtual machine 'AzureVMX'. Error: The client '******@mycompany.com' with object id '93f4effa-f680-48df-976f-f3ea0ffd2f84' has permission to perform action 'Microsoft.Compute/virtualMachines/deallocate/action' on scope 'AzureVMX'; however, the access is denied because of the deny assignment with name 'System deny assignment created by managed application /subscriptions/0c9373ab-097d-44cb-8cbc-2519fdbccd42/resourceGroups/AzureVMX/providers/Microsoft.Solutions/applications/5373ca8c06ef44afa3165e5185c7d768' and Id 'c983fa1c23ac413c9708725685230ab7' at scope 'AzureVMXtqn3ppfnuisli'.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
{count} vote

Accepted answer
  1. Stanislav Zhelyazkov 28,596 Reputation points MVP Volunteer Moderator
    2021-10-12T09:00:21.863+00:00

    You need to delete the managed application.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    4 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.