Troubleshooting Azure
When things go wrong·60 minutes
08:15 — the portal is down
You receive a call at 08:15. The Contractor Document Portal is unreachable. Users cannot log in. The Service Desk is receiving calls. The Head of Digital & IT is asking for an update every 15 minutes. You need to diagnose and resolve the issue under pressure, without making things worse.
Troubleshooting is a skill that separates good Azure Administrators from great ones. This module gives you a structured methodology and the tools to work through any Azure failure systematically.
What you will learn
Structured troubleshooting methodology
Work through these steps in order. Do not skip ahead — checking Service Health first has saved many administrators hours of unnecessary investigation. Select each step to see the detail:
Key troubleshooting tools
Azure Service Health
Shows active incidents, planned maintenance and historical events for Azure services in your regions. Always check this first — if Azure is having an incident, you cannot fix it yourself.
Resource Health
Shows the health history of a specific resource. Distinguishes between platform-initiated unavailability (Azure's fault) and user-initiated unavailability (you stopped it).
Activity Log
Records all control-plane operations: create, update, delete, start, stop. Shows who did what, when, from which IP, and whether it succeeded. Retained for 90 days.
Boot diagnostics
Screenshot of the VM console and serial console access. Works when the VM is unresponsive over the network. Essential for diagnosing boot failures.
Network Watcher IP flow verify
Tests whether a specific traffic flow is allowed or denied by NSG rules. Tells you exactly which NSG and rule is responsible.
NSG flow logs
Records all traffic flows through an NSG — allowed and denied. Stored in a storage account. Useful for post-incident analysis and security investigations.
Common failure scenarios
VM unreachable over RDP/SSH
Check: NSG rules (is port open?), VM running state (deallocated?), boot diagnostics (OS booted?), Bastion connectivity, public IP assignment.
Application returning 500 errors
Check: App Service logs, Application Insights failures, recent deployments (Activity Log), application settings changes, dependency health (database, storage, Key Vault).
Storage access denied
Check: Storage firewall rules (is the client IP/VNet allowed?), RBAC assignments (does the identity have the right role?), SAS token expiry, private endpoint DNS resolution.
Deployment failed
Check: Resource group Deployments blade for the exact error message and ARM error code. Common causes: quota exceeded, policy violation, naming conflict, missing permissions.
Troubleshooting with Azure CLI
# Check Azure Service Health for active incidents
az rest --method GET \
--url "https://management.azure.com/subscriptions/<sub-id>/providers/Microsoft.ResourceHealth/events?api-version=2022-10-01"
# Check resource health for a VM
az rest --method GET \
--url "https://management.azure.com/subscriptions/<sub-id>/resourceGroups/rg-compute-prod-uks-001/providers/Microsoft.Compute/virtualMachines/vm-contractordocportal-prod-uks-001/providers/Microsoft.ResourceHealth/availabilityStatuses/current?api-version=2022-10-01"
# Query Activity Log for recent failed operations
az monitor activity-log list \
--resource-group rg-compute-prod-uks-001 \
--start-time 2026-11-11T00:00:00Z \
--end-time 2026-11-12T23:59:59Z \
--status Failed
# Test network connectivity with IP flow verify
az network watcher test-ip-flow \
--direction Inbound \
--local 10.20.1.4:80 \
--protocol TCP \
--remote 10.20.2.5:* \
--vm vm-contractordocportal-prod-uks-001 \
--resource-group rg-compute-prod-uks-001Your instructor will introduce a fault into the environment. Work through the troubleshooting methodology to find and fix it.
- 1.Check Azure Service Health for any active incidents in UK South.
- 2.Check the Activity Log for any operations in the last 2 hours.
- 3.Use Network Watcher IP flow verify to test connectivity to the VM on port 443.
- 4.Connect to the VM via Bastion and check the application service status.
- 5.Identify the root cause, fix it, and verify the portal is accessible again.
- 6.Write a brief incident summary: what happened, what you checked, what you changed, and how you verified the fix.
1.The Contractor Document Portal is unreachable. What is the first thing you should check?
2.A VM has stopped responding and you cannot connect via RDP. Which tool lets you view the VM console output and take a screenshot without a network connection?
3.You need to find out who deleted a resource group in the Snips subscription at 14:32 yesterday. Which log contains this information?
4.A VM can reach the internet but cannot connect to another VM in the same VNet. What is the most likely cause?
5.After a failed deployment, a resource shows as "Failed" in the Azure Portal. Where do you find the detailed error message?
Module summary
You now have a structured approach to troubleshooting Azure failures. You know which tools to use at each stage, how to gather evidence before making changes, and how to escalate effectively when you need Microsoft's help. The 08:15 call is no longer a moment of panic — it is a process.
Ready to mark this module complete?
Mark complete when you have read all sections, attempted the lab and completed the knowledge check.
- Monitor and maintain Azure resources
- Configure and manage virtual networking