Azure / Azure/azure-cli

We should be able to save the .rdp settings after running az network bastion rdp --configure

Open
#25,228 5 comments 0 reactions 0 assignees View on GitHub
act-quality-productivity-squad Auto-Assign customer-reported Network Network - Bastion Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

`az network bastion rdp --name "" --resource-group "" --target-resource-id "" --configure`
**Is your feature request related to a problem? Please describe.**

My issue is that the rdp connection always revert the display settings to use all the available monitors and the max resolution.
The new --configure allow to customize this settings, but we cannot save this settings for future use (the .rdp seems to be recreated with defaullt value each time the command is run)
**Describe the solution you'd like**

I would like to be able to save the display settings in the .rdp and this settings not overwritten on future run
**Describe alternatives you've considered**

I've tried to edit the .rdp settings, but the file is recreated each time I run the command
**Additional context**

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.