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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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