Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to disable survey prompt output.show_survey_link does nothing #25242

Closed
benc-uk opened this issue Jan 26, 2023 · 4 comments
Closed

No way to disable survey prompt output.show_survey_link does nothing #25242

benc-uk opened this issue Jan 26, 2023 · 4 comments
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Configure az configure/config CXP Attention This issue is handled by CXP team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@benc-uk
Copy link

benc-uk commented Jan 26, 2023

Describe the bug

No matter what steps are taken, the CLI always displays a survey link

Command Name
az config set output.show_survey_link=no

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az config set output.show_survey_link=no
  • Run any command
  • Survey prompt is shown after EVERY COMMAND
[Survey] Help us improve Azure CLI by sharing your experience. This survey should take about 5 minutes. Run 'az survey' to open in browser. Learn more at https://go.microsoft.com/fwlink/?linkid=2203309

Also trying the following has no effect:

  • az config set output.show_survey_link=no=false
  • az config set core.display_survey_message=no
  • az config set core.display_survey_message=false
  • export AZSURVEYMESSAGE=false
  • export AZURE_OUTPUT_SHOW_SURVEY_LINK=false

All of the steps documented here have no effect
https://learn.microsoft.com/en-us/cli/azure/command-line-tools-survey-guidance

Expected Behavior

No survey prompt is shown

Environment Summary

Linux-5.15.79.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04.5 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.44.1

Extensions:
azure-dev 0.0.1b1542059
containerapp 0.3.13
k8s-extension 1.0.4
aks-preview 0.5.118
communication 1.3.0
k8s-configuration 1.4.1

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

@ghost ghost added Auto-Assign Auto assign by bot Configure az configure/config labels Jan 26, 2023
@ghost ghost assigned jiasli Jan 26, 2023
@ghost ghost added this to the Backlog milestone Jan 26, 2023
@wangzelin007
Copy link
Member

@jiasli for awareness

@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 28, 2023
@evelyn-ys
Copy link
Member

evelyn-ys commented Jan 31, 2023

Please try az config set core.survey_message=false

We will update the doc soon. Thanks for your report!

@yonzhan yonzhan added the CXP Attention This issue is handled by CXP team. label Jan 31, 2023
@ghost
Copy link

ghost commented Jan 31, 2023

Thank you for your feedback. This has been routed to the support team for assistance.

@benc-uk
Copy link
Author

benc-uk commented Jan 31, 2023

Please try az config set core.survey_message=false

We will update the doc soon. Thanks for your report!

Thanks @evelyn-ys This command finally worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Configure az configure/config CXP Attention This issue is handled by CXP team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

5 participants