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

Aberta
#284 4 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
powershell
Domínio
devops

Direção de pesquisa

The report points to installing Az.Synapse in an Azure DevOps AzurePowerShell@5 pipeline, with Az.Accounts 3.0.2 failing to download from PowerShell Gallery. Start by checking the package download and installation path for that pipeline and whether the reported outage still reproduces. Done means the package installs successfully or the issue is narrowed to a reproducible Gallery failure; the report names no repository files or tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
PowerShell
Estrelas
289
Forks
83
Merge médio
1min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de PowerShell/PowerShellGallery

Todas as issues de PowerShell/PowerShellGallery

Issues semelhantes

Mais issues de DevOps

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.