-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
When executing a CICD pipeline in ADO (YAML script) I get an error saying:
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.Accounts/3.0.2' is not valid.
##[error]Package 'Az.Accounts' failed to download.
##[error]PowerShell exited with code '1'.
YAML CODE:
- task: AzurePowerShell@5 displayName: Install AZ-Synapse inputs: azureSubscription: '$(TEST_DeployDevopsConnection)' ScriptType: 'InlineScript' Inline: "Install-Module -Name \"Az.Synapse\" -Confirm:$false -Scope CurrentUser -Force;" azurePowerShellVersion: 'LatestVersion'
Expected behavior
Installs Az.SynapseActual behavior
Pipeline failsError details
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.Accounts/3.0.2' is not valid.
##[error]Package 'Az.Accounts' failed to download.
##[error]PowerShell exited with code '1'.Environment data
unknownVersion
3.0.2
Visuals
No response
Metadata
Metadata
Assignees
Labels
No labels