Hello Kehinde Oderemi,
Thank you for posting your question in the Microsoft Q&A forum.
The inability to access your production VM via RDP or Azure Bastion, despite confirmed NSG rules and a healthy boot state, suggests either a Windows OS-level network misconfiguration or an underlying Azure platform issue. Since Azure Bastion is unavailable due to a service incident, and direct RDP remains blocked despite open port 3389, consider these steps:
- Verify Windows Firewall Rules: Even if NSG allows RDP, the VM’s local firewall may block traffic. Use Azure Serial Console (if enabled) or attach the OS disk to another VM to check netsh advfirewall rules.
- Check TCP/IP Stack Corruption: Network driver issues or corrupted TCP/IP settings can silently drop packets. Boot into Safe Mode with Networking via recovery.
- Leverage Azure Run Command: If the VM agent is healthy, use RunCommand to reset RDP settings:
powershell
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" - Name "fDenyTSConnections" -Value 0
- Review Azure Service Health: Confirm no ongoing network virtualization or host node outages in your region.
For credential injection, Microsoft Support can assist with emergency access via:
- VM Guest OS Disk Swap: Temporary attach to a helper VM for config edits.
- Azure AD Login Extension: If configured, reset credentials via Azure AD.
To preserve IIS/configs, avoid redeployment and instead:
- Snapshot the OS disk for backup.
- File a Severity-A support ticket with your subscription ID, VM details, and NSG logs.
Few related documentation links you may want to review:
- https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
- https://learn.microsoft.com/en-us/azure/virtual-machines/run-command-overview
- https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/serial-console-overview
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.