Azure VM: OSProvisioningTimedOut — OS Provisioning for VM did not finish in the allotted time
The VM booted but its guest agent didn’t report provisioning success in time — usually a generalisation problem with a custom image, or the agent can’t reach Azure.
OS Provisioning for VM did not finish in the allotted timeVM agent not ready Meaning
Custom images must be generalised (sysprep / waagent -deprovision). Missing/broken guest agents, cloud-init errors or network rules blocking the WireServer (168.63.129.16) also cause the timeout.
Common causes
- Custom image not generalised (or generalised image used as specialized)
- VM agent/cloud-init missing or failing
- NSG/firewall blocking 168.63.129.16
- Slow first boot (large image)
⚡ Quick fix
- Generalise the source image correctly and recapture
- Check boot diagnostics/serial console
- Ensure the guest agent is installed and the WireServer reachable
Detailed fix by platform
Azure CLI
az vm boot-diagnostics get-boot-log -g rg -n vm1 | tail -50
How to diagnose
- Image — Generalized vs specialized
- Boot log — Agent/cloud-init errors
- Network — Access to 168.63.129.16
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 1011 Cloudflare Error 1011: Access denied (Hotlinking denied)
- AllocationFailed Azure VM: AllocationFailed / ZonalAllocationFailed — Allocation failed. We do not have sufficient capacity for the requested VM size
- conflict: unable to remove repository reference conflict: unable to remove repository reference (must force) - container is using its referenced image
Most viewed in Azure
- AADSTS50053 AADSTS50053: Your account is locked (Smart Lockout) / sign-in blocked due to suspicious activity
- MissingSubscriptionRegistration MissingSubscriptionRegistration: The subscription is not registered to use namespace 'Microsoft.X'
- AuthorizationPermissionMismatch Azure Storage: AuthorizationPermissionMismatch (403) — This request is not authorized to perform this operation using this permission
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 15 Oct 2026