Skip to content

Azure Cloud Shell is readded to the profiles.json file after I remove it and restart terminal.  #3231

@Alacritous

Description

@Alacritous

Steps to reproduce

Open profiles.json through the settings menu option and edit the profiles.json file. Remove the section for Azure Cloud Shell completely including the surrounding brackets and comma preceding the first curly bracket. leaving the file valid but missing the Azure option. I have no need for it.

Expected behavior

I expect to be able to remove the option that I do not have any use for.

Actual behavior

When the Windows Terminal Program is run, the profile segment that was removed reappears as if by magic much to my amazement.
If I mark the file as read-only to protect it from being reverted, Windows Terminal refuses to load.

I literally watched the section in question reappear in the configuration file open in VS code after I deleted it saved the file and re-run the Terminal program.

I want very much to include several invectives and expletives in this bug report. But I will refrain from doing so.
But I want you to imagine what I would have said and you be sure and be creative.

The following is the text that I remove from the configuration file that reappears when the Windows Terminal program is run. There is no error or notification. It just reappears and the option for Azure Cloud is on the menu.

<----------- begin relevent text ----------->
,
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
<----------- end relevent text ----------->

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions