Skip to content

az functionapp update fails with Attribute error #17947

@PolarFox

Description

@PolarFox

Describe the bug

Tried working with functionapp update command. Traceback followed.

Command Name
az functionapp update

Errors:

'NoneType' object has no attribute 'kind'
Traceback (most recent call last):
cli\Lib\site-packages\knack\cli.py, ln 231, in invoke
azure\cli\core\commands\__init__.py, ln 657, in execute
azure\cli\core\commands\__init__.py, ln 720, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 712, in _run_job
azure\cli\command_modules\appservice\commands.py, ln 61, in _ex_handler
azure\cli\core\commands\__init__.py, ln 691, in _run_job
azure\cli\core\commands\__init__.py, ln 328, in __call__
azure\cli\core\commands\arm.py, ln 566, in handler
azure\cli\core\commands\__init__.py, ln 447, in cached_put
azure\cli\core\commands\__init__.py, ln 441, in _put_operation
azure\cli\command_modules\appservice\custom.py, ln 694, in set_functionapp
AttributeError: 'NoneType' object has no attribute 'kind'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az functionapp update -n {} -g {}

Expected Behavior

Not traceback.

Environment Summary

Windows-10-10.0.17763-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.22.1

Extensions:
application-insights 0.1.13
interactive 0.4.4

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Functionsaz functionappService AttentionThis issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions