In this lab, I explored how to recover a Windows-based Azure virtual machine (VM) that was experiencing connectivity and provisioning issues. I used two key recovery operations available in the Azure portal:
-
Redeploy VM: When Remote Desktop (RDP) access failed and the VM became unreachable, I used the redeploy option to move the VM to a new physical node within Azure’s infrastructure. This process retained all configurations, disks, and network settings—allowing to restore access without losing data.
-
Reapply VM State: In a separate scenario, the VM entered a failed provisioning state. I resolved this by reapplying the VM’s state, which triggered a fresh provisioning cycle while preserving the original setup. This helped recover the VM without needing to rebuild it from scratch.
🧪 What I Practiced
I deployed a Windows Server VM for testing Active Directory and internal applications. When connectivity broke down, I applied these recovery techniques to restore functionality within minutes. This lab strengthened my understanding of Azure’s troubleshooting tools and taught me how to maintain uptime in both sandbox and production environments.
As part of this lab, I successfully:
- ✅ Identified the difference between redeploying and reapplying a virtual machine in Azure.
- ✅ Used the Azure portal to redeploy a Windows-based VM, resolving Remote Desktop (RDP) connectivity issues without losing configuration or data.
- ✅ Executed the Reapply VM State operation to recover a VM stuck in a failed provisioning state.
- ✅ Verified that all VM settings, disks, and networking remained intact after both recovery actions.
- ✅ Demonstrated practical troubleshooting skills for restoring VM health in real-world scenarios.
- ✅ Strengthened my confidence in maintaining uptime and reliability across Azure infrastructure.
This lab reinforced my ability to handle VM recovery operations with precision and clarity — a key skill for any cloud engineer working in production or sandbox environments.
Selected the Azure portal search box to locate services, resources, or troubleshooting tools for managing virtual machines and infrastructure. This step kicks off your navigation flow — perfect for launching into redeploy, reapply, or tagging actions.
Used the Azure portal search bar to find the target virtual machine, then navigated to its Redeploy + reapply blade to initiate host migration and provisioning recovery actions.
Selected “Virtual machines” from the Azure portal search results to access the VM inventory and begin redeploy or reapply recovery actions. This step launches your troubleshooting workflow — ideal for restoring access.
Selected Server01 from the virtual machine inventory to open its overview page and access recovery actions like Redeploy and Reapply.This step initiates targeted troubleshooting — perfect for resolving RDP or provisioning issues.
Navigated to the “Redeploy + reapply” blade from the Server01 VM overview to initiate host migration or rerun provisioning for recovery and troubleshooting. This step is key for resolving RDP failures or failed provisioning states without altering your VM configuration.
Selected the “Redeploy” button to migrate Server01 to a new Azure host, resolving potential connectivity or infrastructure issues while preserving all VM settings. This step is a powerful recovery action — ideal for restoring access without rebuilding.
Returned to the “Overview” tab of Server01 to confirm the redeployment status and review updated VM health and connectivity details. This step wraps up the recovery flow — perfect for validating that your VM is back online and stable.
in the top-right corner to view alerts or provisioning messages for this VM.
Confirmed that Server01 was successfully redeployed to a new Azure host. The operation resolved infrastructure-level issues while preserving all VM settings and resources.
Manually refreshed the Server01 overview page to confirm successful redeployment and ensure the VM status reflects its latest operational state.
Refreshed the Server01 overview page to verify that the VM restarted successfully and retained its “Running” status post-operation.
Accessed the “Redeploy + reapply” blade from the Server01 overview to initiate host migration or reapply provisioning for troubleshooting VM connectivity or failed state.
Selected the “Reapply” button to rerun platform provisioning for Server01, resolving potential VM configuration or connectivity issues without changing infrastructure settings.
Opened the Azure portal notifications icon to track Replay or Replay+ progress and monitor VM telemetry attachment status.
Executed the “Reapply” operation for Server01 to rerun platform provisioning and restore VM health. Verified success via notification panel showing “Succeeded” status. This step confirms a clean recovery — ideal for resolving failed states without changing infrastructure.
Selected the “Refresh” button on the Server01 overview page to update the VM status and confirm that recent operations completed successfully.
Tip This step is my final checkpoint — ideal for validating redeploy or reapply actions.















