Azure / Azure/azure-cli

global admin on my own subscription, not being able to read contents of my own blobs in azure storage account, tried to add role to read via Azure PowerShell, failed with below error

Open
#22,974 3 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad Auto-Assign customer-reported RBAC
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 22h
Merged PRs (30d)
64

Description

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

## Describe the bug

**Command Name**
`az role assignment create`

**Errors:**
```
The command failed with an unexpected error. Here is the traceback:
Invalid filter clause
Traceback (most recent call last):
File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/role/msgrpah/_graph_client.py", line 40, in _send
r = send_raw_request(self.cli_ctx, method, url, resource=self.resource, uri_parameters=param, body=body)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/util.py", line 982, in send_raw_request
raise HTTPError(reason, r)
azure.cli.core.azclierror.HTTPError: Bad Request({"error":{"code":"BadRequest","message":"Invalid filter clause","innerError":{"date":"2022-06-23T01:12:43","request-id":"18e09c80-f825-4268-bb51-23b50e9cb229","client-request-id":"18e09c80-f825-4268-bb51-23b50e9cb229"}}})

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
raise ex
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**c

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.