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

Azure CLI use_dynamic_install throws Unhandled promise rejection #21505

Closed
briglx opened this issue Mar 3, 2022 · 3 comments
Closed

Azure CLI use_dynamic_install throws Unhandled promise rejection #21505

briglx opened this issue Mar 3, 2022 · 3 comments
Assignees
Labels
Auto-Assign Auto assign by bot Configure az configure/config CXP Attention This issue is handled by CXP team. needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue.
Milestone

Comments

@briglx
Copy link

briglx commented Mar 3, 2022

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Calling az config set extension.use_dynamic_install=yes_without_prompt in the Azure/CLI GitHub Action throws the error.

See related issue: Azure/cli#72

To Reproduce

  • Create GitHub action
  • Create a step that uses azure/CLI@v1 action
  • Call az config set extension.use_dynamic_install=yes_without_prompt
- name: Clean Up Resources
        uses: azure/CLI@v1
        with:
          azcliversion: 2.30.0
          inlineScript: |
            
            # Allow Dynamic installation of extensions
            az config set extension.use_dynamic_install=yes_without_prompt
            az automation account delete  .... # The automation extension is not installed by default

Expected behavior
Code should execute and install uninstalled extensions as needed

Environment summary

script execution via docker image mcr.microsoft.com/azure-cli:2.30.0

Additional context

@ghost ghost added Auto-Assign Auto assign by bot Configure az configure/config labels Mar 3, 2022
@ghost ghost assigned jiasli Mar 3, 2022
@ghost ghost added this to the Backlog milestone Mar 3, 2022
@ghost ghost added CXP Attention This issue is handled by CXP team. Automation labels Mar 3, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 3, 2022

@jiasli for awareness

@yonzhan yonzhan removed the Automation label Mar 3, 2022
@RakeshMohanMSFT RakeshMohanMSFT self-assigned this May 2, 2022
@RakeshMohanMSFT
Copy link
Contributor

RakeshMohanMSFT commented May 3, 2022

@briglx are you still facing this issue? i see that you have closed the other thread as resolved.

@RakeshMohanMSFT RakeshMohanMSFT added the needs-author-feedback More information is needed from author to address the issue. label May 3, 2022
@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label May 10, 2022
@ghost
Copy link

ghost commented May 10, 2022

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@ghost ghost closed this as completed May 25, 2022
This issue was closed.
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 Configure az configure/config CXP Attention This issue is handled by CXP team. needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue.
Projects
None yet
Development

No branches or pull requests

4 participants