cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

NuGet Feed Issue with Power Platform Tool Installer task

Hi,

 

I am facing an issue with the Power Platform Tool Installer task (which not seems to be related to the current global issue). We are trying to run the build pipeline on a self-hosted agent but the task fails with the following log (please find the diagnostic log in attached file):

 

Installing PS module Microsoft.PowerApps.Checker.PowerShell - 1.0.28 ... Name Version Source Summary

---- ------- ------ -------

nuget 2.8.5.208 https://onege... NuGet provider for the OneGet meta-package manager

##[error]Package Source 'nuget.org' exists.

Installing nuget pkg Microsoft.CrmSdk.CoreTools - 9.1.0.49 ...

##[error]No match was found for the specified search criteria and package name 'Microsoft.CrmSdk.CoreTools'. Try Get-PackageSource to see all available

registered package sources.

Finishing: Power Platform Tool Installer

 

What can be the cause of this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft
Microsoft

@AkiraQuenot thanks for the diagnostics log. Known issue, a fix for it should be released to VS Marketplace later today. The issue is, that on some build agents, the explicit registration for the nuget.org V2 API fails, thus failing the ToolInstaller task.

 

 

2020-11-10T08:35:27.9667298Z ##[debug]00:00:00.0618367 AddPackageSource - ProviderName = 'NuGet', name='nuget.org', location='https://www.nuget.org/api/v2', trusted='True'

2020-11-10T08:35:27.9692501Z ##[debug]00:00:00.0619036 Calling 'NuGet'::'GetOptionValue'.

2020-11-10T08:35:27.9721884Z ##[debug]00:00:00.0619470 'IsUpdate' is 'False'.

2020-11-10T08:35:27.9805890Z ##[debug]00:00:00.0619674 Calling 'NuGet'::'FindRegisteredSource -name'nuget.org''.

2020-11-10T08:35:27.9878794Z ##[debug]00:00:00.0619880 Calling 'NuGetRequest'::'FindRegisteredSource', 'nuget.org'.

2020-11-10T08:35:27.9963712Z ##[debug]Error record:

2020-11-10T08:35:28.1191015Z ##[debug]Register-PackageSource : Package Source 'nuget.org' exists.

2020-11-10T08:35:28.1221994Z ##[debug]At C:\agent\_work\_tasks\PowerPlatformToolInstaller_8015465b-f367-4ec4-8215-8edf682574d3\0.0.17\ToolInstaller.ps1:58 char:5

2020-11-10T08:35:28.1298500Z ##[debug]+     Register

View solution in original post

1 REPLY 1
Microsoft
Microsoft

@AkiraQuenot thanks for the diagnostics log. Known issue, a fix for it should be released to VS Marketplace later today. The issue is, that on some build agents, the explicit registration for the nuget.org V2 API fails, thus failing the ToolInstaller task.

 

 

2020-11-10T08:35:27.9667298Z ##[debug]00:00:00.0618367 AddPackageSource - ProviderName = 'NuGet', name='nuget.org', location='https://www.nuget.org/api/v2', trusted='True'

2020-11-10T08:35:27.9692501Z ##[debug]00:00:00.0619036 Calling 'NuGet'::'GetOptionValue'.

2020-11-10T08:35:27.9721884Z ##[debug]00:00:00.0619470 'IsUpdate' is 'False'.

2020-11-10T08:35:27.9805890Z ##[debug]00:00:00.0619674 Calling 'NuGet'::'FindRegisteredSource -name'nuget.org''.

2020-11-10T08:35:27.9878794Z ##[debug]00:00:00.0619880 Calling 'NuGetRequest'::'FindRegisteredSource', 'nuget.org'.

2020-11-10T08:35:27.9963712Z ##[debug]Error record:

2020-11-10T08:35:28.1191015Z ##[debug]Register-PackageSource : Package Source 'nuget.org' exists.

2020-11-10T08:35:28.1221994Z ##[debug]At C:\agent\_work\_tasks\PowerPlatformToolInstaller_8015465b-f367-4ec4-8215-8edf682574d3\0.0.17\ToolInstaller.ps1:58 char:5

2020-11-10T08:35:28.1298500Z ##[debug]+     Register

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (5,488)