VSBuild task throwing 403 while restoring from Azure Artifact

Kruthi Villivalam 0 Reputation points Microsoft Employee
2023-03-22T15:33:00.6066667+00:00

Hi all,

The VSBuild task and the nuget restore task throws the error below while restoring packages

Unable to find version '4.5.0' of package 'System.ValueTuple'.
      C:\Users\ContainerAdministrator\AppData\Local\NuGet\Cache: Package 'System.ValueTuple.4.5.0' is not found on source 'C:\Users\ContainerAdministrator\AppData\Local\NuGet\Cache'.
      https://pkgs.dev.azure.com/xxxx/xxxx/_packaging/xxxxxx/nuget/v3/index.json: Unable to load the service index for source https://pkgs.dev.azure.com/xxx/AME/_packaging/xxxxxn/nuget/v3/index.json.
      Response status code does not indicate success: 403 (Forbidden - User '3a58387b-d8fd-633e-afbc-xxxxxx' lacks permission to complete this action. You need to have 'ReadPackages'. (DevOps Activity ID: 4181CE48-204E-47C1-B12C-7EE07EAB76F6)).


Hoe can i see which user id is being referred here?
I have already given the required permissions on the Azure Artifact feed. Is there any other permission I need to set?

User's image

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,969 questions
0 comments No comments
{count} votes