Cannot delete role assignment with roleAssignmentScheduleRequests - outdated api version
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**Command Name**
`az role assignment delete`
**Errors:**
```
The resource type 'roleAssignmentScheduleRequests' could not be found in the namespace 'Microsoft.Authorization' for api version '2020-04-01-preview'. The supported api-versions are '2020-10-01-preview,2020-10-01,2022-04-01-preview'.
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- `az role assignment delete --subscription --ids /subscriptions//providers/Microsoft.Authorization/roleAssignmentScheduleRequests/`
## Expected Behavior
Delete the role assignment
## Environment Summary
```
macOS-12.5.1-x86_64-i386-64bit, Darwin 21.6.0
Python 3.10.6
Installer: HOMEBREW
azure-cli 2.40.0
Extensions:
containerapp 0.3.1
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.