-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Dear Team,
We experience an error when using command "az account subscription rename --id xxxx-xxx --name "xxx"" to rename subscription.
Error message
InvalidGatewayCertificate) The gateway certificate is invalid for 'Microsoft.Subscription'.
Code: InvalidGatewayCertificate
Message: The gateway certificate is invalid for 'Microsoft.Subscription'.
The cli version is as following :
azure-cli 2.35.0
core 2.35.0
telemetry 1.0.6 *
Extensions:
account 0.2.1
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
Python location '/bin/python3.6'
Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.6.8 (default, Apr 16 2020, 01:36:27)
[GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
And we remove account extension 0.2.1 and add account extension 0.2.3 with below command
az extension remove --name account
az extension add --name account --version 0.2.1
Then cli version is as following
{
"azure-cli": "2.35.0",
"azure-cli-core": "2.35.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {
"account": "0.2.3"
}
We attempt to rename subscription and encounter the new error .
Command group 'account subscription' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
(InvalidResourceType) The resource type 'rename' could not be found in the namespace 'Microsoft.Subscription' for api version '2021-10-01'. The supported api-versions are '2019-03-01-preview,2019-10-01-preview,2020-09-01,2021-01-01-privatepreview'.
Code: InvalidResourceType
Message: The resource type 'rename' could not be found in the namespace 'Microsoft.Subscription' for api version '2021-10-01'. The supported api-versions are '2019-03-01-preview,2019-10-01-preview,2020-09-01,2021-01-01-privatepreview'.
Could you please help to confirm it ? thanks