Skip to content

[error]Package 'Az.Accounts' failed to download since MSFT outage yesterday #284

@cosmic-jester-uk

Description

@cosmic-jester-uk

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.Synapse

Actual behavior

Pipeline fails

Error 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

unknown

Version

3.0.2

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions