Skip to content

VNET integrated CloudShell is not available in germanywestcentral region #366

@attilaersek

Description

@attilaersek

Couldn't create a vnet integrated cloudshell in the germanywestcentral secondary region. I had to use the az rest method as there's an issue with the portal and the storage selection dropdown is disabled, so there's a chance that the request body is not perfect.

To Reproduce

cloudshell.json request example:

{
    "properties": {
      "preferredOsType": "Linux",
      "preferredLocation": "westeurope",
      "storageProfile": {
        "storageAccountResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/resource-group-xxx/providers/Microsoft.Storage/storageAccounts/storageaccountxxx",
        "fileShareName": "cloudshell",
        "diskSizeInGB": 5
      },
      "terminalSettings": {
        "fontSize": "Medium",
        "fontStyle": "Monospace"
      },
      "preferredShellType": "bash",
      "vnetSettings": {
        "networkProfileResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource-group-xxx/providers/Microsoft.Network/networkProfiles/networkprofile-xxx",
        "relayNamespaceResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource-group-xxx/providers/Microsoft.Relay/namespaces/relay-xxx",
        "isolatedStorageProfile": {
          "storageAccountResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/resource-group-xxx/providers/Microsoft.Storage/storageAccounts/storageaccountxxx",
          "fileShareName": "cloudshell",
          "diskSizeInGB": 5
        },
        "location": "gernamywestcentral"
      },
      "networkType": "Isolated",
      "sessionType": "Mounted",
      "userSubscription": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
}
az rest --method put --url https://management.azure.com/providers/Microsoft.Portal/userSettings/cloudconsole?api-version=2023-02-01-preview --body @cloudshell.json

Observed Behavior

The request returns with an error:

Bad Request({
  "error": {
    "code": "InvalidLocation",
    "message": "The location 'gernamywestcentral' is invalid."
  }
})

Expected behavior

The cloudshell is created.

Is this specific to Cloud Shell?

Yes.

Interface information

not relevant.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions