-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
Description
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.
Reactions are currently unavailable