User lacks permission to complete this action. You need to have 'AddPackage'


1 min read

When you setup a new repository and build in Azure DevOps, you would expect it to work out of the box but I kept getting error, User {someguid} does not have permission. If you go to the feed and try to search by this GUID, you will find no one. Hopefully this post will save sometime for someone else.

Here are you Azure Devop steps.

  1. Click on "Artifacts" on the left side.
  2. Select your feed from the drop down (usually selected by default)
  3. Click the "Feed Setting" gear on the top right corner.
  4. Click "Permissions"
  5. Click "Add Users/groups" and search for {your org} Build Service and add as contributor.