azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

running az ad app update generates "string indices must be integers" error

Open Spyntek opened this issue 7 years ago • 4 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az ad app update

Errors:

string indices must be integers
Traceback (most recent call last):
Temp\pip-install-p8t_6awn\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 652, in _run_job
azure\cli\command_modules\role\commands.py, ln 69, in graph_err_handler
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure\cli\core\commands\arm.py, ln 515, in handler
azure\cli\command_modules\role\custom.py, ln 964, in update_application
azure\cli\command_modules\role\custom.py, ln 1003, in _build_application_accesses
TypeError: string indices must be integers

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 app update --id {} --required-resource-accesses {}

Expected Behavior

Environment Summary

Windows-10-10.0.19013-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.75 *
azure-cli-iot-ext 0.8.3

Extensions:
alias 0.5.2
azure-cli-iot-ext 0.8.3
azure-devops 0.13.0
interactive 0.4.3
storage-preview 0.2.8
vm-repair 0.2.2
webapp 0.2.24

Additional Context

Spyntek avatar Nov 05 '19 19:11 Spyntek

@jiasli add to S162.

yonzhan avatar Nov 06 '19 11:11 yonzhan

Hi @Spyntek , we cannot repro in our environment. Could you please help provide the complete command for us to investigate?

qianwens avatar Mar 04 '20 08:03 qianwens

Hi @Spyntek, any feedback/update?

yonzhan avatar Apr 18 '20 12:04 yonzhan

#14830

houk-ms avatar Sep 10 '20 05:09 houk-ms