'Response status code does not indicate success: 403 (Forbidden - User) Azure Pipeline

C:\hostedtoolcache\windows\dotnet\sdk\3.1.416\NuGet.targets(128,5): 
 error :   
   Response status code does not indicate success: 403 
     (Forbidden - User '2016d1a0-0d43-42b0-8a96-7f6a9bxxxxxx' lacks permission to complete this action. You need to have 'ReadPackages'. 
     (DevOps Activity ID: ADACCF88-4190-491C-B690-E3330E3xxxxx)). 
   [D:\a\1\s\Notifications.Functions\Notifications.Application.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:08.96


##[error]Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source