Error occurred in deployment step 'install app for sharepoint' the system account cannot perform this action.

I am trying to develop a Provider Hosted App in a High Trust On Premise SharePoint 2013 environment. I am logged into the VM as sp_farm account. I followed the steps provided in the following link.

https://msdn.microsoft.com/en-us/library/office/fp179901.aspx

But still, I got the error

Error occurred in deployment step 'install app for sharepoint'. The system account cannot perform this action.

When I searched it, I got the solution provided in the following links

http://www.enjoysharepoint.com/Articles/Details/error-occurred-in-deployment-step-install-app-for-sharepoint-the-20819.aspx

http://blog.aditi.com/enterprise_social/challenges-starting-developing-apps-sharepoint-2013/

Though I tried it, it doesn't seem to be working. Also, now I don't know, how to revert the certificate steps and Power shell steps back so that I can revert everything and retry. Any help would be highly apprec

September 4th, 2015 12:16pm

Finally, I could solve this, following the below steps.

1. First of all, create a new AD user, say, sp_appuser.

2. Make this user a Local Admin.

3. Also, make this user a Farm Admin.

4. After this, create a Login in SQL server for this user. Just give Public role for this user.

5. In the User Mapping section for this user, make this user DBO for App Management DB, Subscription Settings DB and the current content DB where you are deploying the app.

6. Then login into the server using this new user.

7. Open Visual Studio as Administrator and open your app solution and deploy it. It worked successfully.

Thanks a lot to the following SharePoint Stack Exchange link.

http://sharepoint.stackexchange.com/questions/80812/error-occurred-in-deployment-step-uninstall-app-for-sharepoint-the-system-acc

Note: Look at the first answer (this is not marked as answer, though) by ateet.

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2015 2:05am

Hi Ven,

Thanks for your sharing, it would be helpful to those who stuck with the similar issue.

Thanks

September 8th, 2015 2:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics