A domain I was working on had lost connectivity to the domain so I could no longer access with Local Cred via RDP anymore.
You can use Azure built in functions to disable , the login and rejoin
Or
PSEXEC
psexec \\ipaddress -s cmd
REM Disable the Network Level Authentication reg add “HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp” /v UserAuthentication /t REG_DWORD /d 0