Azure / Azure/azure-cli-extensions

RDP does not support platforms other than Windows

Open
#8,180 1 comment 0 reactions 0 assignees View on GitHub
Auto-Assign bug customer-reported Service Attention VM SSH
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.