cannot run `az dataprotection backup-vault create` on Mac Powerbook pro
- 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 dataprotection backup-vault create`
**Errors:**
```
The command failed with an unexpected error. Here is the traceback:
No module named 'azure.mgmt.resourcegraph'
Traceback (most recent call last):
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 556, in execute
self.commands_loader.load_arguments(command)
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/azure/cli/core/__init__.py", line 517, in load_arguments
self.command_table[command].load_arguments() # this loads the arguments via reflection
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 313, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/knack/commands.py", line 104, in load_arguments
cmd_args = self.arguments_loader()
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
op = self.get_op_handler(self.op_path)
File "/usr/local/Cellar/azure-cli/2.27.2/libexec/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
handler = import_module(mod_to_import)
File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/derek.lai/.azure/cliextensions/dataprotection/azext_dataprotection/custom.py", line 20, in
raise e
File "/Users/derek.lai/.azure/cliextensions/dataprotection/azext_dataprotection/custom.py", line 15, in
from .manual.custom import * # noqa: F403
File "/Users/derek.lai/.azure/cliextensions/dataprotection/azext_dataprotection/manual/custom.py", line 17, in
from azure.mgmt.resourcegraph.models import \
ModuleNotFoundError: No module named 'azure.mgmt.resourcegraph'
```
## 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 dataprotection backup-vault create -g {} --vault-name {} -l {} --type {} --storage-settings {} {}`
## Expected Behavior
## Environment Summary
```
macOS-11.2.3-x86_64-i386-64bit
Python 3.9.6
Installer: HOMEBREW
azure-cli 2.27.2
Extensions:
aks-preview 0.4.64
dataprotection 0.1.0
account 0.2.1
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.