az monitor activity-log list
SafeQuery the activity log
az monitor activity-log list --offset 1h -o table
Answers who changed what, when — track down deleted resources and mystery config changes.
Examples
az monitor activity-log list -g prod-rg --offset 24h -o tableLast 24 h of changes
Syntax
az monitor activity-log list [--offset 2h] [--resource-group rg]
Before you run it
Read only.
Related commands
- az group listList resource groups
- aws logs tailTail CloudWatch logs
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store