Failed to delete resource group

meliane ahmed 0 Reputation points
2025-01-07T12:20:46.6233333+00:00

i was following this tutorial https://microsoftlearning.github.io/mslearn-ai-vision/Instructions/Exercises/02-image-classification.html and when i tried to delet the resourses i made i get this error :
Failed to delete resource group azureLearn: The client 'melianeahmed@mahdia.r-iset.tn' with object id 'ff5b51e5-1282-4ac6-bf2c-a4c7e6459a22' has permission to perform action 'Microsoft.Resources/subscriptions/resourceGroups/delete' on scope '/subscriptions/a27193af-97ad-41e4-bc02-e1d36b90fbfa/resourceGroups/azureLearn'; however, the access is denied because of the deny assignment with name '[UnusualActivity] Full Deny assignment on dbd6664d-4eb9-46eb-99d8-5c43ba153c61 for user 00000000-0000-0000-0000-000000000000 at root added' and Id 'd49127ba81c54b0b925fedfbdcb01d07' at scope '/'. (Code: DenyAssignmentAuthorizationFailed)

can any one explain to me why i get this error and how to solve it

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,043 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kothapally Snigdha 850 Reputation points Microsoft Vendor
    2025-01-07T18:16:11.8033333+00:00

    Hi meliane ahmed

    Greetings & Welcome to the Microsoft Q&A forum! Thank you for sharing your query.

    I understand that you're facing an issue with failed to delete the Resource group. here are some steps to follow.


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.