Azure / Azure/azure-cli

Azure GUID

Open
#19,911 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad customer-reported feature-request Graph
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 ad sp create-for-rbac`

**Errors:**
```
API version 2020-04-01-preview does not have operation group 'role_assignments'
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 231, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 659, in execute
raise ex
cli/core/commands/__init__.py, ln 722, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
...
azure/mgmt/authorization/_authorization_management_client.py, ln 196, in role_assignments
raise ValueError("API version {} does not have operation group 'role_assignments'".format(api_version))
ValueError: API version 2020-04-01-preview does not have operation group 'role_assignments'
```

## 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 ad sp create-for-rbac --name {} --role {} --scopes {} --sdk-auth`

## Expected Behavior

## Environment Summary
```
Linux-5.10.0-kali5-amd64-x86_64-with-glibc2.31
Python 3.9.2
Installer: DEB

azure-cli 2.18.0

Extensions:
azure-devops 0.19.0

```
## 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.