Error occurred in deployment step ‘Retract Solution’: Attempted to perform an unauthorized operation

We have created SharePoint 2010 Web Application with classic authentication and added an AD account as “Site Collection Administrator” and then when the development team user tried to deploy a solution it gives the following error.

“Error occurred in deployment step ‘Retract Solution’: Attempted to perform an unauthorized operation.”

To solve this issue we have followed the below steps

  • In Central Administration site – under Application management we selected Manage web applications
  • There we selected the SharePoint application and press “User Policy” in the ribbon. There we added the user wants to deploy with and give him full control

This resolved our issue

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.