Azure / Azure/azure-cli

Azure CLI issue in Linux Env

Open
#21,103 6 comments 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-identity-squad ARM feature-request
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 group create`

**Errors:**
```
invalid syntax (custom.py, line 838)
Traceback (most recent call last):
python3.5/site-packages/knack/cli.py, ln 215, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 553, in execute
self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 478, in load_arguments
self.command_table[command].load_arguments() # this loads the arguments via reflection
...
, ln 727, in source_to_code
, ln 222, in _call_with_frames_removed
cli/command_modules/resource/custom.py, ln 838
err_messages = [f'{preflight_error.code} - {preflight_error.message}']
^
SyntaxError: invalid syntax
```

## 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 group create -n {} -l {}`

## Expected Behavior

## Environment Summary
```
Linux-4.4.0-210-generic-x86_64-with-Ubuntu-16.04-xenial
Python 3.5.2
Installer:

azure-cli 2.15.1 *

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