Skip to content

AzurePowerShellV5 task can no longer run bicep deployment #4495

Answered by brwilkinson
thesushil asked this question in General
Discussion options

You must be logged in to vote

Hi @thesushil this is related to a recent regression with the Azure PowerShell Module via New-AzResourceGroupDeployment.

The regression means that dynamic parameters are not being processed correctly.

You can for now roll back to a known good version of the AZ PowerShell Module via the following.

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-powershell?view=azure-devops

      # azurePowerShellVersion: 'LatestVersion'
      preferredAzurePowerShellVersion: 6.3.0
      pwsh: true

This was discussed in #4210 and I believe a fix is on the way, it may just take a while for it to reach the DevOps task.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@thesushil
Comment options

Answer selected by thesushil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants