Study guide
3.8 Azure Activity Log, Diagnostics, and Resource Health
Microsoft Azure Fundamentals AZ-900
Track your progress as you read
Finished sections get a check mark.
1 Introduction
About the Microsoft Azure Fundamentals (AZ-900) Exam Study Strategies and Exam Tips
2 Domain 1: Cloud Concepts (25-30%)
1.1 What Is Cloud Computing? 1.2 Cloud Service Models (IaaS, PaaS, SaaS) 1.3 Cloud Deployment Models (Public, Private, Hybrid) 1.4 The Consumption-Based Model
3 Domain 2A: Azure Architecture Components
2.1 Azure Regions and Availability Zones 2.2 Azure Resource Hierarchy (Management Groups, Subscriptions, Resource Groups) 2.3 Azure Resource Manager (ARM) Overview
4 Domain 2B: Azure Compute Services
2.3 Azure Virtual Machines 2.4 Azure App Service, Containers, and Serverless 2.5 Azure Virtual Desktop
5 Domain 2C: Azure Networking Services
2.6 Azure Virtual Networks (VNet) 2.7 Azure VPN Gateway and ExpressRoute 2.8 Azure Load Balancing and Content Delivery
6 Domain 2D: Azure Storage Services
2.9 Azure Storage Accounts and Services 2.10 Azure Database Services 2.11 Azure Data Services and Analytics
7 Domain 2E: Azure Identity, Access, and Security
2.11 Microsoft Entra ID (Azure Active Directory) 2.12 Azure RBAC, Zero Trust, and Defense in Depth 2.13 Azure Security Services
8 Domain 3A: Azure Cost Management
3.1 Factors That Affect Azure Costs 3.2 Azure Pricing Calculator and Cost Management 3.3 Using Tags for Cost Management and Organization
9 Domain 3B: Azure Governance and Compliance
3.3 Azure Policy 3.4 Resource Locks and Tags 3.5 Azure Blueprints, ARM Templates, and Bicep 3.6 Azure Governance Features: Putting It All Together
10 Domain 3C: Azure Monitoring and Management Tools
3.6 Azure Monitor and Service Health 3.7 Azure Compliance, Privacy, and Trust 3.8 Azure Activity Log, Diagnostics, and Resource Health
11 Additional Azure Services and Exam Review
Azure AI and Machine Learning Services Azure IoT and DevOps Services AZ-900 Exam Review: Key Concepts Summary Common AZ-900 Exam Scenarios and Practice
12 Advanced Azure Topics and Service Deep Dives
Azure Migration Services and Tools High Availability and Disaster Recovery in Azure Azure Networking: Private Link, Service Endpoints, and Bastion Azure Management Tools: Portal, CLI, PowerShell, and Cloud Shell Azure SLAs, Service Lifecycle, and Support Plans
3.8 Azure Activity Log, Diagnostics, and Resource Health
Key Takeaways Explain This Topic AI
The Activity Log records management-plane (control-plane) operations — who created, changed, or deleted a resource, when, and from where — not data-plane reads/writes inside a resource.
Activity Log entries are kept 90 days in the portal for free; for longer retention or KQL analysis you export them via diagnostic settings to Log Analytics, Storage, or Event Hubs.
Diagnostic settings are the pipe that routes platform metrics and resource logs to a Log Analytics workspace, Storage Account, Event Hub, or partner solution.
Resource Health reports one resource's state as Available, Unavailable, Degraded, or Unknown, and distinguishes platform-caused from customer-caused problems.
Activity Log (audit trail) + diagnostic settings (data routing) + Azure Monitor alerts (notification) + Resource Health (status) form a complete management story.
Last updated: October 2026
Quick Answer: Activity Log = the audit trail of management actions (who created/deleted/changed a resource). Diagnostic settings = the pipe that routes metrics and logs to storage destinations. Resource Health = the live up/down state of one resource. These three are distinct — do not blur them.
Control plane vs data plane (the key distinction)
Every Azure operation is either management-plane (control-plane) or data-plane , and the Activity Log captures only the first kind.
Plane What it does Captured by
Management (control) plane Manages the resource: create a VM, resize a disk, assign an RBAC role, delete a storage account Activity Log
Data plane Uses the resource: read a blob, run a SQL query, send a queue message Resource logs / diagnostics, NOT the Activity Log
Classic trap: "A user downloaded a file from blob storage — where is that recorded?" That is a data-plane event, so it is not in the Activity Log; you find it in the storage account's diagnostic (resource) logs. "A user deleted the storage account" is management-plane and is in the Activity Log.
Azure Activity Log
The Activity Log (formerly the Audit Log) answers four questions about every management operation: who (the caller), what (the operation), which resource, and when . Each entry also carries a status (Started / Succeeded / Failed) and a correlation ID that links related events.
Event categories
- Category Example
- Administrative Create VM, delete storage, assign RBAC role
- Service Health Outage and maintenance events
- Resource Health A resource's health state changed
- Alert An Azure Monitor alert fired
- Autoscale A scale-out/scale-in event
- Policy An Azure Policy evaluation result
- Security A Microsoft Defender for Cloud alert
- Recommendation A new Azure Advisor recommendation
- Retention and export
- Destination Retention Why use it
- Azure portal 90 days (free, automatic) Quick lookup and recent troubleshooting
- Log Analytics 30 days up to 2 years KQL queries, correlate with other logs
- Storage Account Unlimited (you set lifecycle) Cheap long-term archival for compliance
- Event Hub Real-time stream Feed a SIEM or third-party analytics
Remember the 90-day portal figure. Anything longer than 90 days requires an export — the portal does not store Activity Log history forever.
Diagnostic settings: the routing pipe
Diagnostic settings are how you send platform metrics and resource logs out of a service to where you want them analyzed or kept.
- Destination Purpose
- Log Analytics workspace Query with KQL, build dashboards
- Storage Account Low-cost long-term archival
- Event Hub Stream to an external SIEM or tool
- Partner solution Hand off to a third-party monitoring product
Each resource type exposes its own diagnostic categories you enable individually — a storage account, for example, offers separate read, write, and delete log categories. Without a diagnostic setting, those resource logs are simply not collected. Memory hook: diagnostic settings move data; they do not analyze it. Analysis happens after it lands in Log Analytics.
Resource Health
Resource Health is a personalized, per-resource dashboard reporting the current and historical state of one specific resource.
- Status Meaning
- Available Functioning normally, no issues detected
- Unavailable A platform or non-platform event has impacted it
- Degraded Reduced performance, still partially working
- Unknown No signal received for 10+ minutes
Crucially, when a resource is unavailable Resource Health tells you whether the cause is Azure (a platform event) or your own configuration , suggests remediation, and links to support — so you do not waste time blaming the wrong side.
Putting the four together
- Tool Role in the story
- Activity Log The audit trail — who did what to a resource
- Diagnostic settings The pipe — routes metrics/logs to a destination
- Azure Monitor alerts The trigger — notifies or automates a response
- Resource Health The status — is this one resource up right now
- Worked compliance scenario
A bank gets audited and must answer three questions about its Azure footprint:
"Who deleted the production database last Tuesday?" — The Activity Log holds the management-plane delete event with the caller, timestamp, and correlation ID; if it is older than 90 days, you read it from the workspace or storage archive you exported to.
"Prove every storage account write for the past year is retained." — Storage writes are data-plane events, so you must have a diagnostic setting routing the account's write log category to a Storage Account with a long retention lifecycle.
"Was last month's outage Azure's fault or ours?" — Resource Health records whether the impacting event was a platform event or a customer-side configuration problem.
Each question maps to exactly one tool.
Common AZ-900 traps in this section
Activity Log captures management, not usage. Creating/deleting a resource is logged; reading data inside it is not.
90 days is free and automatic; longer needs an export. The portal does not keep Activity Log history indefinitely.
Diagnostic settings route; Log Analytics analyzes. A setting with no destination collects nothing.
Resource Health is per-resource and tells you the blame side (platform vs customer) — it is not a global outage board (that is Azure Status).
On the Exam: Match the verb to the tool. "Who deleted this VM?" → Activity Log . " Send these logs to long-term storage" → diagnostic settings . "Is this VM healthy and is the outage Azure's fault?" → Resource Health . " Notify me when CPU spikes" → alerts .