Share via

Finding Policy I created

Pekwekoh 21 Reputation points
2020-04-18T18:25:39.253+00:00

Please can there be a reason why I cannot find the policy I created during practical exercise: Control and organize Azure resources with Azure Resource Manager?
After deleting the resource group, I could not find the policy (Assignment and Definition) to delete so as to clean up after the course. Any idea what might have happened?

Thank you.

Community Center | Not monitored
0 comments No comments

Answer accepted by question author

bhargaviannadevara-msft 5,476 Reputation points Moderator
2020-08-07T11:59:35.01+00:00

Hello @Pekwekoh ,

Thanks for the question. I tried the module and was able to reproduce something similar to the issue you have reported.

Here is what I did:

  • Created the Resource group
  • Created the described policy definition
  • Created the policy assignment scoped to the newly created resource group
  • Tested the policy
  • Deleted the Resource group

What I found after the resource group got deleted is that, the policy assignment got deleted with the resource group, but the policy definition remained intact. So I'm not perfectly sure why you couldn't find your policy definition as is.

To troubleshoot the issue further, you can check the Activity Log on the Azure portal (Azure Monitor > Activity Log), and check the recorded events.

If you're seeing this behavior consistently, you can provide feedback on one of the following places:

  • Report an issue here to get clarification about the module content and get it updated, if necessary.
  • Here is a similar Tutorial to create and manage Azure Policies. Get clarification or provide feedback about the content here.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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