Share via

Windows Vm not showing in tenant, can no longer RDP into it

Dwayne Cunningham 0 Reputation points
2026-06-04T17:42:11.2933333+00:00

Windows Vm not showing in tenant, can no longer RDP into it

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


2 answers

Sort by: Most helpful
  1. Hemalatha 14,195 Reputation points Microsoft External Staff Moderator
    2026-06-04T18:18:13.6333333+00:00

    Hello Dwagyne,

    Thank you for reaching out.

    I understand that your Windows VM is no longer visible in the tenant portal and that you are unable to connect to it through RDP.

    To help us determine whether this is a visibility issue, access issue, or if the VM has been moved or deleted, could you please provide the following details:

    1.Confirm that you are signed in to the correct Azure Directory (Tenant) and Subscription. You can verify this from the Directory + Subscription selector in the Azure portal.

    2.Check whether the VM is visible through Azure CLI or PowerShell:

    az vm list -o table
    az vm show --name <VMName> --resource-group <ResourceGroupName>
    

    PowerShell

    Get-AzVM -Name <VMName> -ResourceGroupName <ResourceGroupName>
    
    1. Please let us know the results of the above commands:
      • If the VM is returned by the commands but not visible in the portal, this may indicate a portal, filtering, or permissions-related issue.
      • If the VM is not returned, we will need to investigate whether the VM was deleted, moved, or is outside the current subscription scope.

    Once we receive the requested information and command outputs, we will continue our investigation and assist you with the next steps.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-06-04T17:42:27.58+00:00

    Start with basic connectivity checks, then move to VM-side recovery, since the VM is no longer visible in the tenant view and RDP is failing.

    1. Verify VM existence and state
      • In the Azure portal, confirm the correct directory/tenant and subscription are selected.
      • Check whether the VM resource still exists and what state it is in (Running/Stopped/Deallocated/Failed). If the VM was deleted, only dependent resources (NIC, disks, public IP) may remain.
    2. Use built-in RDP troubleshooting if the VM exists
      • If the VM is present but RDP fails, follow the standard RDP troubleshooting sequence:
        1. Reset Remote Desktop configuration using the VMAccess extension.
        2. Verify NSG rules allow inbound TCP 3389 and no higher-priority deny rules block it.
        3. Check VM boot diagnostics for OS-level issues.
        4. Reset NIC, restart the VM, and if needed, redeploy the VM.
      • From PowerShell, reset RDP on the VM:
             Set-AzVMAccessExtension -ResourceGroupName "myResourceGroup" `
                 -VMName "myVM" -Location Westus -Name "myVMAccessExtension"
        
        Replace names and location with the actual resource group, VM name, and region.
    3. Check for common RDP causes on a running VM
      • If the VM is running but RDP shows the generic error “Remote Desktop can’t connect to the remote computer,” check:
        • Remote Desktop is enabled on the VM.
        • Remote Desktop Services (TermService) is running.
        • RDP listener is correctly configured and listening on TCP 3389.
        • Windows Firewall allows RDP (Remote Desktop rule enabled) and no local firewall/IDS is blocking it.
      • If needed, use Serial Console or Remote PowerShell (if configured) to:
        • Enable the Remote Desktop firewall rule.
        • Set HKLM\System\CurrentControlSet\Control\Terminal Server\fDenyTSConnections to 0.
    4. Handle Safe Mode or OS boot issues
      • If boot diagnostics show the VM stuck in Safe Mode, RDP will fail. In that case:
        1. Stop the VM and detach the OS disk.
        2. Attach the OS disk to a healthy repair VM.
        3. On the repair VM, open an elevated command prompt and identify the attached OS disk drive letter (for example, F:).
        4. Check boot configuration:
                  bcdedit /store F:\boot\bcd /enum
          
          Confirm the entry with the \Windows folder and note its Identifier (typically {default}). If safeboot is present under Windows Boot Loader, Safe Mode is enabled.
        5. Remove the safeboot flag:
                  bcdedit /store F:\boot\bcd /deletevalue {Default} safeboot
          
        6. Verify the flag is removed:
                  bcdedit /store F:\boot\bcd /enum
          
        7. Detach the OS disk from the repair VM, reattach it to the original VM, and recreate/restart the VM, then test RDP.
    5. Consider brute-force or attack-related symptoms
      • If RDP intermittently fails and security logs show many 4625 events (bad username or password), the public RDP endpoint may be under brute-force attack. In that case:
        • Use Serial Console or Remote PowerShell to review Security logs.
        • Restrict RDP exposure (for example, NSG source IP filters, just-in-time access, or private access via VPN/ExpressRoute).
    6. If the VM truly does not appear
      • If the VM resource no longer appears in any subscription/tenant that should contain it, treat it as deleted:
        • Confirm whether managed disks, NICs, and public IPs still exist.
        • If only dependent resources remain, create a new VM from the existing OS disk (if present) and reconfigure NSG and RDP as above.

    If none of these steps restore visibility or connectivity, open a support case from the Azure portal (Help icon → New support request) so platform-level issues with the tenant or subscription can be investigated.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.