Skip to content

Cannot delete role assignment with roleAssignmentScheduleRequests - outdated api version #23963

@alk-automize

Description

@alk-automize

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 <subscription name> --ids /subscriptions/<subscription id>/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/<role assignment id>

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions