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

Install Azure powershell 4.7.0 (AZ module) (current max version is 4.6.0) #1671

Closed
1 of 6 tasks
PaulVrugt opened this issue Sep 25, 2020 · 11 comments
Closed
1 of 6 tasks
Assignees
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: Ubuntu OS: Windows

Comments

@PaulVrugt
Copy link

Tool information

  • Tool name: Azure powershell
  • Add or update? Update
  • Desired version: 4.7.0
  • Approximate size:

Area for Triage:

Question, Bug, or Feature?:
Bug: The 4.6 version of Az contains a bug which breaks ARM deployments with secure strings as parameters. See Azure/azure-powershell#12792

Virtual environments affected

  • macOS 10.15
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS
  • Windows Server 2016 R2
  • Windows Server 2019

Can this tool be installed during the build?
No, since the azurepowershell task breaks if you set the az version to 4.7.0

Tool installation time in runtime
Not sure

Are you willing to submit a PR?
No, lacking knowledge on how to do this

@PaulVrugt PaulVrugt changed the title Update/Add Azure powershell 4.7.0 (AZ module) Install Azure powershell 4.7.0 (AZ module) (current max version is 4.6.0) Sep 25, 2020
@dibir-magomedsaygitov
Copy link
Contributor

dibir-magomedsaygitov commented Sep 25, 2020

Hello, @PaulVrugt!
Thank you for your report! We have prepared PR with the addition of 4.7.0 version of Azure Powershell.
I will post an update message as soon as Image with the updated Azure Powershell is available for use.

@PaulVrugt
Copy link
Author

@dibir-magomedsaygitov Wow that was fast. Thank you!

@dibir-magomedsaygitov
Copy link
Contributor

PR with Azure Powershell v4.7.0 was successfully merged and will be available with the this week's rollout.

@dibir-magomedsaygitov dibir-magomedsaygitov added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Sep 28, 2020
@felixtsem5
Copy link

@dibir-magomedsaygitov Can you please let us know when this will be available? I just checked in Azure Pipelines and the latest is still 4.6.0. Thanks!

@SamAchten
Copy link

Is there a workaround while we wait for the fix? Our pipelines broke...

@PaulVrugt
Copy link
Author

PaulVrugt commented Oct 2, 2020

@SamAchten the workaround is to revert to azure powershell 4.4. You can do this by using the following properties in the AzurePowerShell@5 task:

inputs:
    azurePowerShellVersion: OtherVersion
    preferredAzurePowerShellVersion: '4.4.0'

to prevent these kind of issues it might be better to always use a fixed version of azure powershell, and only updated it if you need a new functionality that requires a newer version. Otherwise it's possible your pipeline will break whenever they update azure powershell again. This probably won't happen, but you'll always see that is DOES happen when you try to release a hotfix or some other situation in which it's inconvenient

@SamAchten
Copy link

That worked! 🥳 Thanks

@dibir-magomedsaygitov
Copy link
Contributor

Hello everyone! Sorry for the delay, new Windows Images with updated Azure Powershell should be available next week.

@lpalerm
Copy link

lpalerm commented Oct 6, 2020

Hello everyone! Sorry for the delay, new Windows Images with updated Azure Powershell should be available next week.

Do you have a date when this will be updated?

@dibir-magomedsaygitov
Copy link
Contributor

Hello everyone! Quick update: Azure Powershell v4.7.0 is available to use on all Ubuntu images and on Windows 19 image. Deployment of Windows 16 was delayed and (hopefully) will be delivered next week.
I will post update message when Azure Powershell v4.7.0 is available to use on Windows 16 as well. Thank you for your patience.

@al-cheb
Copy link
Contributor

al-cheb commented Oct 21, 2020

Hello, @PaulVrugt
Az 4.7.0 is now available for Windows Server 2016 and Windows Server 2019.

@al-cheb al-cheb closed this as completed Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: Ubuntu OS: Windows
Projects
None yet
Development

No branches or pull requests

6 participants