Skip to content

Azure CLI issue in Linux Env #21103

@Lathapundi

Description

@Lathapundi

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
...
<frozen importlib._bootstrap_external>, ln 727, in source_to_code
<frozen importlib._bootstrap>, 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

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupact-identity-squadfeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions