PowerShell / PowerShellGallery

228 stars 65 forks source link

Pipelines using Microsoft.Xrm.Data.Powershell 2.7.2 are failing #194

Open BradleyFestraets opened 3 years ago

BradleyFestraets commented 3 years ago

Hi Team,

I have a pipeline using the Microsoft.Xrm.Data.Powershell 2.7.2 package calling the pac canvas unpack command. It was working all well until today when I started to receive the below error.

Starting: unpack msapp files

Task : PowerShell Description : Run a PowerShell script on Linux, macOS, or Windows Version : 2.190.0 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell

Generating script. ========================== Starting Command Output =========================== "C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\e911dcba-6202-4cf0-b5a5-29664b83c462.ps1'" UnPack from D:\a\1\s\Covid19Vaccination\Covid19VaccinationDemo\SolutionPackage\CanvasApps\dxc_demoapp_c91ef_DocumentUri.msapp-->D:\a\1\s\Covid19Vaccination\Covid19VaccinationDemo\SolutionPackage\CanvasApps\dxc_demoapp_c91ef_DocumentUri_msapp_src Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id:7d5694f7-7b50-4aca-acd9-c0c578f125f1

[error]PowerShell exited with code '1'.

Finishing: unpack msapp files

alerickson commented 3 years ago

Hi @BradleyFestraets is the pipeline is able to retrieve the package? It seems like it's specifically unpack step that's failing, how exactly is that being called?