microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.23k stars 8.27k forks source link

Provide an easy way to disable / remove Azure Cloud Shell from Terminal #17964

Open sboehle opened 1 week ago

sboehle commented 1 week ago

Description of the new feature/enhancement

There are enterprise customers need to disable Azure Cloud Shell for their whole environment. At the moment the only known way is to use a json file. This is user specific and has to be created for each user in his profile. That is not a possible way for an enterprise environment. This feature request will be for an easy way to disable Azure Cloud Shell using a Regkey or a GPO.

Proposed technical implementation details (optional)

When a specific GPO or regkey is set, when you open terminal and choose the arrow down menu, there is no option to start an Azure Cloud Shell. Also the keyboard short cut should be disabled (ctrl+shift+3)

DHowett commented 1 week ago

Thanks for the request! We definitely need better enterprise manageability for Terminal profiles (as well as sources, colors, themes, VT capabilities, ...).

In the meantime:

This is user specific

You can also install a machine-wide fragment extension that overrides the hidden property for the Azure Cloud Shell profile. That will affect removing it on all of your managed systems, and is not per-user.