Skip to content

issue in executing az cli commands after az cli upgrade #16973

@ashishkarnad

Description

@ashishkarnad

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az storage blob sync

Errors:

MSI auth not yet supported.
Traceback (most recent call last):
command_modules/storage/azcopy/util.py, ln 122, in client_auth_for_azcopy
    token_info = _unserialize_non_msi_token_payload(token_info)
command_modules/storage/azcopy/util.py, ln 144, in _unserialize_non_msi_token_payload
    'refresh_token': token_info['refreshToken'],
KeyError: 'refreshToken'

...

command_modules/storage/azcopy/util.py, ln 124, in client_auth_for_azcopy
    raise Exception('MSI auth not yet supported.')
Exception: MSI auth not yet supported.

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 storage blob sync -c {} --verbose --account-name {} --account-key {} -s {}

Expected Behavior

Environment Summary

Linux-5.4.0-1039-azure-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.19.1

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions