Azure / Azure/azure-cli-extensions

error when running: az account subscription rename

Open
#5,294 2 comments 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
Account Auto-Assign Azure CLI Team customer-reported feature-request Subscription
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az account subscription rename
Extension Name: account. Version: 0.2.3.`

**Errors:**
```
(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'.
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az account subscription rename --subscription-id {}`

## Expected Behavior

## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.22.1 *

Extensions:
account 0.2.3
init 0.1.0
interactive 0.4.5

```
## Additional Context

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.