Skip to content

(InvalidGatewayCertificate) The gateway certificate is invalid for 'Microsoft.Subscription'. #23714

@Claire-cloud31

Description

@Claire-cloud31

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

Metadata

Metadata

Labels

Accountaz login/accountAuto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions