Azure / Azure/azure-cli

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

Open
#23,714 34 comments 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
Account act-identity-squad Auto-Assign customer-reported question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.