Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
Generating script.
========================== Starting Command Output ===========================
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\a5f021e9-cd76-4acc-8f9c-e5e1f6a8c342.ps1'"
Installing PS module Microsoft.Xrm.Data.PowerShell - 2.8.14 ...
PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'Microsoft.Xrm.Data.PowerShell'. Try Get-PSRepository to see all available registered module repositories.
At C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:11794 char:21
Describe the bug Deploying from Azure DevOps is throwing an error trying to download Microsoft.Xrm.Data.PowerShell. Full error message below.
To Reproduce Run any deployment pipeline that requires Microsoft.Xrm.Data.PowerShell.
Expected behavior Required PowerShell components to download successfully.
Desktop (please complete the following information): Azure DevOps
Error Message Content: Starting: Install PowerShell Modules
Task : PowerShell Description : Run a PowerShell script on Linux, macOS, or Windows Version : 2.239.1 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\a5f021e9-cd76-4acc-8f9c-e5e1f6a8c342.ps1'" Installing PS module Microsoft.Xrm.Data.PowerShell - 2.8.14 ... PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'Microsoft.Xrm.Data.PowerShell'. Try Get-PSRepository to see all available registered module repositories. At C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:11794 char:21
[error]PowerShell exited with code '1'.
Finishing: Install PowerShell Modules