Azure Troubleshooting: VMs Stuck Starting, NSG Blocks and Entra ID Sign-In Failures
Fix the classic Azure incidents: allocations that never complete, traffic dropped by hidden NSG rules, and conditional access lockouts.
VMs and networking
Often an allocation failure in the underlying cluster, or a quota limit. Stop (deallocate) the VM and start it again to land on fresh hardware, check subscription quota for the VM family and region, and read the Activity Log for the exact allocation error code.
Effective rules decide, not the blade you are looking at: NSGs attach to both NIC and subnet, and deny beats allow at the same priority. Open 'Effective security rules' on the NIC, enable NSG flow logs to watch the drop, and confirm the source CIDR matches your real egress IP. The OS firewall (Windows Firewall or ufw) is also a silent deny.
Identity and disks
Inspect Entra ID sign-in logs for the exact conditional access grant that failed - for example 'require compliant device' while Intune has not synced. Use a break-glass account excluded from CA for access, then fix the root cause: compliance state, named locations, or MFA registration.
Premium disks resize online, but the guest must rescan and extend. On Linux, rescan the SCSI device (or restart) then growpart plus resize2fs or xfs_growfs; on Windows, rescan disks in Disk Management and Extend Volume. Disks only grow, never shrink - plan sizes before resizing.