The problem was in installing Az
and az bicep
seems like, updated tasks:
- task: PowerShell@2
displayName: 'Install Az Module'
inputs:
pwsh: true
targetType: 'inline'
script: |
Install-Module -Name Az -Force -AllowClobber
az bicep install
az bicep version