Azure / Azure/azure-cli

Survey message printed to `stderr` even when `only_show_errors` is set to `true`

Open
#23,787 4 comments 0 reactions 2 assignees Claimed by @jiasli View on GitHub
act-platform-engineering-squad Azure CLI Team Core feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I have the same problem here. When I use Azure CLI in an Azure DevOps Pipeline, the following text is written to Std Error:
```
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
```
although I set the environment variable `AZURE_CORE_ONLY_SHOW_ERRORS` to `true`.

This makes my pipeline job fail then. Also see https://github.com/microsoft/azure-pipelines-tasks/issues/16840.

_Originally posted by @svdHero in https://github.com/Azure/azure-cli/issues/16949#issuecomment-1237024499_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.