title: Azure Devops publishing to own feed suddenly results in 403 forbidden
body: <p>I have been using Azure DevOps for a project for quite some time, but suddenly publishing to my own organisation/collection feed results in a 403.</p>
  <p>I created a feed and I can select it on the <code>nuget push</code> build step, but it does not work. I created a new feed to publish the NuGet packages to and this works perfectly again. It seems to me like a token expired, but I never created one or used it to authenticate. I also do not want to change my NuGet feed to the new one, as I want to use older packages as well.</p>
  <p>This is the buildpipeline:</p>
  <p><img src="https://i.stack.imgur.com/SbrnL.png" alt="enter image description here" /></p>
  <p>And this is the stack trace:</p>
  <blockquote>
  <p>Active code page: 65001 SYSTEMVSSCONNECTION exists true
  SYSTEMVSSCONNECTION exists true SYSTEMVSSCONNECTION exists true</p>
  <h2>[warning]Could not create provenance session: {&quot;statusCode&quot;:500,&quot;result&quot;:{&quot;$id&quot;:&quot;1&quot;,&quot;innerException&quot;:null,&quot;message&quot;:&quot;User</h2>
  <p>'a831bb9f-aef5-4b63-91cd-4027b16710cf' lacks permission to complete
  this action. You need to have
  'ReadPackages'.&quot;,&quot;typeName&quot;:&quot;Microsoft.VisualStudio.Services.Feed.WebApi.FeedNeedsPermissionsException,
  Microsoft.VisualStudio.Services.Feed.WebApi&quot;,&quot;typeKey&quot;:&quot;FeedNeedsPermissionsException&quot;,&quot;errorCode&quot;:0,&quot;eventId&quot;:3000}}
  Saving NuGet.config to a temporary config file. Saving NuGet.config to
  a temporary config file. [command]&quot;C:\Program Files\dotnet\dotnet.exe&quot;
  nuget push d:\a\1\a\Microwave.0.13.3.2019072215-beta.nupkg --source
  <a href="https://simonheiss87.pkgs.visualstudio.com/_packaging/5f0802e1-99c5-450f-b02d-6d5f1c946cff/nuget/v3/index.json" rel="noreferrer">https://simonheiss87.pkgs.visualstudio.com/_packaging/5f0802e1-99c5-450f-b02d-6d5f1c946cff/nuget/v3/index.json</a>
  --api-key VSTS error: Unable to load the service index for source <a href="https://simonheiss87.pkgs.visualstudio.com/_packaging/5f0802e1-99c5-450f-b02d-6d5f1c946cff/nuget/v3/index.json" rel="noreferrer">https://simonheiss87.pkgs.visualstudio.com/_packaging/5f0802e1-99c5-450f-b02d-6d5f1c946cff/nuget/v3/index.json</a>.
  error:   Response status code does not indicate success: 403
  (Forbidden - User 'a831bb9f-aef5-4b63-91cd-4027b16710cf' lacks
  permission to complete this action. You need to have 'ReadPackages'.
  (DevOps Activity ID: 2D81C262-96A3-457B-B792-0B73514AAB5E)).</p>
  <h2>[error]Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1</h2>
  <h2>[error]Packages failed to publish</h2>
  <h2>[section]Finishing: dotnet push to own feed</h2>
  </blockquote>
  <p>Is there an option I am overlooking where I have to authenticate myself somehow? It is just so weird.</p>