Saturday, January 26, 2013

SharePoint 2013 "Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action"

Scenario: When I was trying to deploy an APP to SharePoint 2013 farm I got below error message
"Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action".

Solution: One approach that I would suggest to get rid of the above error is to have two accounts:-
1. Have a system account, this account should be added to Administrators group of the SharePoint machine/VM
2. While creating the SharePoint2013 farm (i.e while joining to a new farm) use a different account, other than system account used in step1

So basically when you login to your SharePoint VM/machine you login with account in step 1. But, the farm admin and all of your application pools must be running on account created in step2.

Note: If you try to change the App pool account from IIS manager to different account after the farm has been created it may not work, atleast it didn't work for me.

One way to check this setting has worked for you, is by looking at the "WelcomeMenu" on top right of the SharePoint site, it should show you the account in step1. It should not display "System Account" on welcome menu.

No comments:

Post a Comment