azure-cli-extensions
azure-cli-extensions copied to clipboard
RDP does not support platforms other than Windows
Describe the bug
Trying to run any RDP connection on Darwin or Linux results in the RDP connection is not supported for this platform. Supported platforms: Windows
error, even when the official Microsoft RDP client is installed.
Related command
az ssh arc --resource-group "Azure-Arc" --name $machine --local-user $username --yes --rdp -- -o StrictHostKeyChecking=accept-new
Errors
RDP connection is not supported for this platform. Supported platforms: Windows
Issue script & Debug output
N/A
Expected behavior
On macOS and many Linux repos, the RDP client can be opened via the RDP URI format. This seems to be an arbitrary restriction to the RDP feature. The CLI should at least attempt to start an RDP connection, or offer an RDP URL, especially considering not everyone wants to use the default RDP client
Environment Summary
azure-cli 2.64.0 *
core 2.64.0 * telemetry 1.1.0
Extensions: connectedmachine 1.0.0b2 ssh 2.0.5
Dependencies: msal 1.30.0 azure-mgmt-resource 23.1.1
Python location '/opt/homebrew/Cellar/azure-cli/2.64.0/libexec/bin/python' Extensions directory '/Users/ed/.azure/cliextensions'
Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response