Track changes to Azure resources

Changes to your Azure resources are quite common, and they are difficult to identify. Until now. Microsoft recently released (in preview) the ability to detect change events using Azure Resource Graph. Meaning you do not have to decipher the administrative events in the activity log of your resources. Much like the change tracking solution for Azure VMs.

How does resource changes work in resource graph?

Resource changes are stored in the resource graph under a new table called ResourceChanges. This table is populated from the activity log and removes the complexity we earlier had with matching correlationId, changeId, and so on.

Note:

Resource changes only reflect data in the Resources table in resource graph

What can I do with this?

There are a lot of reasons and possibility that comes with this feature. Microsoft themself mention

  • Incident handeling – what happened prior to the incident
  • CMDB update on changes
  • Azure policy initiated changes

The first reason is probably a good place to start. In my next post, I will show you how to add an azure monitor alert rule, action group, and an Azure function that can pull relevant change information from the impacted resource.

This blog featured as part of Azure Week. Find more great Azure content here.

I’m Martin Ehrnst an IT pro from Norway, currently working as a technical lead at Vipps.

For more than a decade I have worked with infrastructure management, automation, and monitoring. I now try to bring what I have learned from on-premises management into the public cloud.
In my spare time, I try to contribute as much as I can to the Microsoft community. Apart from this blog, I share my daily ups and downs on social media. And as often as I allowed and there is time, I speak at local events and international conferences.

For any inquiries please contact me through LinkedIn or my Twitter account.

Reference:

Ehrnst, M (2022). Track changes to Azure resources. Available at: https://adatum.no/azure/track-changes-to-azure-resources [Accessed: 28th June 2022]. 

Share this on...

Rate this Post:

Share:

Topics:

Azure

Tags: