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

Update Azure PowerShell Modules #9980

Open
14 of 15 tasks
YanaXu opened this issue Jun 4, 2024 · 9 comments
Open
14 of 15 tasks

Update Azure PowerShell Modules #9980

YanaXu opened this issue Jun 4, 2024 · 9 comments

Comments

@YanaXu
Copy link

YanaXu commented Jun 4, 2024

Tool name

Azure PowerShell

Tool license

same as old versions

Add or update?

  • Add
  • Update

Desired version

12.0.0

Approximate size

No response

Brief description of tool

There are 2 requirements in this issue:

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

No response

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

@ijunaidm
Copy link
Contributor

ijunaidm commented Jun 7, 2024

@YanaXu - We are looking into this issue, we will update you on this issue.

@ijunaidm
Copy link
Contributor

@YanaXu - Unfortunately, we do not have plans to preinstall the latest versions of AZ module due to maintenance concerns and to avoid potential customer impact. We recommend to use AzurePowerShell@5 Azure DevOps task or Azure powershell action for Github Actions to install required versions in runtime.
Thank you for understanding and sorry for the inconvenience!

@YanaXu
Copy link
Author

YanaXu commented Jun 24, 2024

@YanaXu - Unfortunately, we do not have plans to preinstall the latest versions of AZ module due to maintenance concerns and to avoid potential customer impact. We recommend to use AzurePowerShell@5 Azure DevOps task or Azure powershell action for Github Actions to install required versions in runtime. Thank you for understanding and sorry for the inconvenience!

Hi @ijunaidm , I do notice that you have preinstalled the Az 11.3.1. Before that, it's 9.3.0.
May I ask the policy to update Azure PowerShell version?
And I'd like to know if you have the plan to uninstall AzureRM (including the cached ones)?

@YanaXu
Copy link
Author

YanaXu commented Jul 4, 2024

@ijunaidm , could you check my questions above? Thanks!

@olegd-superoffice
Copy link

According to Windows2022-Readme

Azure PowerShell module 2.1.0 and AzureRM PowerShell module 2.1.0 are installed
and are available via 'Get-Module -ListAvailable'.
All other versions are saved but not installed.

So Az: 11.3.1 is available as saved in C:\Modules but not installed. Why it cannot be upgraded to 12.x ? If that's not possible, then maybe 12.x can be added to the list of saved modules?

@ijunaidm
Copy link
Contributor

@olegd-superoffice - Yes, we will be upgrading Azure power shell module (Az) to 12.1.0 .
@YanaXu - We will be updating it to 12.1.0.
I will keep you posted about the details after updates are done on our images.

@ijunaidm
Copy link
Contributor

ijunaidm commented Aug 8, 2024

@YanaXu - We have started updating the Azure PowerShell module (Az) version to 12.1.0 this week on windows images.
So it should be available on next week early monday morning.
But for MacOS and Ubuntu images we will try to update Az PowerShell module to 12.1.0 in the next week .

@ijunaidm
Copy link
Contributor

ijunaidm commented Aug 12, 2024

@YanaXu - For the windows 22 image -> Az Power Shell module version is updated to 12.1.0
This week it will be implemented on windows 19 image. and also on all the Ubuntu images. And for MacOS images its already on updated version.

@ijunaidm
Copy link
Contributor

ijunaidm commented Aug 23, 2024

@YanaXu - For the first part of the request : Remove powershell module AzureRM -> We won't do it because of breaking changes. We will make sure that we don't install AzureRM on next Windows Server image release.

And for the second part of the request : Upgrade Azure PowerShell module (Az) to the
latest version 12.0.0.-> For all the Ubuntu , Windows and MacOS images Az Power Shell module is updated .

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@YanaXu @mikhailkoliada @olegd-superoffice @ijunaidm and others