Skip to content

Az Login command should timeout or error if account does not have access #11150

Description

@gminer485

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az login

Errors:

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 login

Expected Behavior

Time out after 60 seconds of attempted login.

Environment Summary

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

azure-cli 2.0.76

Additional Context

I used the account signed into Windows, which does not have access. It should have timed out, rather than just sitting there for ten minutes.

Metadata

Metadata

Assignees

Labels

Accountaz login/account

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions