Skip to content

[enhancement]: Consider visibleAzLogin to default to false #21570

@JasonWhall

Description

@JasonWhall

Task name

AzureCli@2

Describe your feature request here

Currently the default options for the visibleAzLogin parameter is set to true. This means that it will always print the output of it's available context after a successful login. This will list the available subscriptions the identity has permissions to

In our widespread usage of this task (1000's of pipelines) across many projects this means there are sometimes 100's of log lines printed per run of this task which likely wastes storage, cpu cycles, and causes users who investigate logs unnecessary scrolling to get to the right context.

Whilst we could go through and set this property in all areas of use, it would seem there are little downsides to having the default for this property to always be false. Errors are still correctly surfaced if a login attempt fails.

Could it be considered that this task has its default value to be set to false?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions