Azure / Azure/azure-cli

unable to use az with terraform 0.14.9

Open
#22,520 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad Auto-Assign 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 signed-in-user show`

**Errors:**
```
'NoneType' object has no attribute '__dict__'
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 528, in execute
self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 300, in load_arguments
loader.load_arguments(command) # this adds entries to the argument registries
cli/command_modules/role/__init__.py, ln 29, in load_arguments
load_arguments(self, command)
...
cli/core/profiles/_shared.py, ln 476, in get_versioned_sdk_path
api_version = getattr(api_version, operation_group)
cli/core/profiles/_shared.py, ln 273, in __getattr__
self._resolve()
cli/core/profiles/_shared.py, ln 260, in _resolve
for operation_group_name, operation_type in self._client_type.__dict__.items():
AttributeError: 'NoneType' object has no attribute '__dict__'
```

## 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 signed-in-user show`

## Expected Behavior

## Environment Summary
```
Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

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