Catégorie : Divers

Azure Resource Graph Policy Exceptions 

Hi!

I’m excited to share that you can now harness the power of Azure Resource Graph to effortlessly retrieve all policy exceptions. This is made even more seamless with the introduction of the new field: microsoft.authorization/policyexemptions.

Example: Extract all the policies which expire within 90 days

PolicyResources | where type == 'microsoft.authorization/policyexemptions' | extend expiresOnC = todatetime(properties.expiresOn) | where isnotnull(expiresOnC) | where expiresOnC >= now() and expiresOnC < now(+90d) | project name, expiresOnC

Example: All the policies exceptions per assignment

PolicyResources | where type == 'microsoft.authorization/policyexemptions' | summarize count() by tostring(properties.policyAssignmentId)

Maxime.

Microsoft MVP Azure & Security 2023-2024 !

Hi!

I am thrilled to share the news that I have been renewed as a Microsoft MVP in two categories: Microsoft Azure and Security for the year 2023-2024. It fills me with immense pride to be a part of this vibrant community and to have the opportunity to continue sharing my knowledge.

I would like to express my heartfelt gratitude to the Microsoft MVP Award team, specifically Betsy and Rochelle, for their unwavering support. I would also like to extend my thanks to all my colleagues, blog readers, and commentators who have been a constant source of inspiration and encouragement. Congratulations to all the new and renewed MVPs!

Maxime.