0

I am getting 401 Unauthorized error after deploying default Sharepoint Hosted App. I have done no changes app, it is just a default app with Full control permission in AppMenifest file..

1 Answer 1

0

If you're on a dev machine, maybe you're connecting to your SharePoint with a SharePoint service account such as SPFarm or the account running the app pool, resulting in being logged on as "System account".
Apps cannot be deployed with System Account... You must be logged as someone else.

3
  • I am using different credential other than these accounts. App is deployed and installed successfully, but getting 401 Unauthorized only when i am going to open or access it. Jan 24, 2017 at 7:29
  • What kind of authentication do you use on your Web application? Kerberos or NTLM?
    – Evariste
    Jan 24, 2017 at 8:29
  • I am using NTLM for authentication. Jan 24, 2017 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.