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

Az modules not available in Microsoft-hosted agents #11785

Closed
4 of 15 tasks
bautistagr opened this issue Mar 12, 2025 · 2 comments
Closed
4 of 15 tasks

Az modules not available in Microsoft-hosted agents #11785

bautistagr opened this issue Mar 12, 2025 · 2 comments

Comments

@bautistagr
Copy link

Description

Hi,

We have pipelines running PS scripts calling AzureRM commands like

New-AzureStorageContext
Get-AzureStorageQueue
etc

last Friday 03/07 we noticed those scripts started falling. We guessed it was because AzureRM modules were removed from the agents (deprecated), so we tried to switch to the new Azure PS modules Az, now using commands like the following

New-AzStorageContext
Get-AzStorageQueue

but the scripts are still falling.

We listed the PS modules installed in the agents (Get-Module -ListAvailable) and we couldn't find neither AzureRM nor Az modules.

Do you know when those modules are going to be back?

Thanks,
Robert

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Current image version: '20250303.1.0'

Is it regression?

Current image version: '20250209.1.0'

Expected behavior

Able to use PS commands like New-AzStorageContext and Get-AzStorageQueue

Actual behavior

This error:

'New-AzStorageContext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Repro steps

$azureStorageContext = New-AzStorageContext -StorageAccountName -StorageAccountKey

@RaviAkshintala
Copy link
Contributor

Hi @bautistagr Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@kishorekumar-anchala
Copy link
Contributor

Hi @bautistagr - Discussing this issue in #11764, closing as duplicated. we will discuss this on #11764

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

4 participants