Skip to content

Az (2.30.0) login using an SPN account - azurestack #20387

@ghost

Description

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az login

Errors:

MSIS9605: The client is not allowed to access the requested resource.

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 --service-principal --username {} --password {} --tenant {}

Expected Behavior

To be able to use a service account (SPN) for enumerating resources within azurestack. We don't use any certificates, only SPN's values are passed along the command line.

Before upgrading to 2.30.0, we were using 2.29.x and the same command line worked. As of now, we had rolled back to AZ version 2.29.0 and it does the job..

Environment Summary

Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.30.0

Extensions:
vm-repair 0.3.8

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions