Thursday, July 3, 2014

Sharepoint 2013 app prompting for credentials


Hi all,


If you have created your isolated app domain and configurated it (i have use powershell script for that purpose) to create and deploy SharePoint 2013 app, then I suppose you have tried to open Visual Studio 2012, create and deploy your first app.

If you made all steps you are the best. If you app was successfully installed on you dev site, you go to that app and trying to open it, you get a promtting for credentials you cannot pass authorization (even if you are sure that username and passwordyou you entered are right). So you need to try the two solution.

Solution 1

Add app domain (ex. http://*.apps.mydevelepment.com) to Internet options > Security > Local Intranet > Sites. Add http://*.apps.mydevelepment.com

Or if it won't work for you, as it didn't work for me, you need to try Solution 2. It worked for me. 

Solution 2
http://msdn.microsoft.com/en-us/library/office/fp179923%28v=office.15%29.aspx

  1. Run RegEdit as admin.  Locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  2. Right click the node "Lsa", point to New, and then click DWORD
  3. Type in the name of the key as DisableLoopbackCheck, noting case, and then press enter.
  4. Right click the new DisableLoopbackCheck key, and then click Modify.
  5. In the Value data box, type 1, and then click OK.
  6. Quit the Registry Editor, and then reboot your server.
Thank you,

Have a good day!!

No comments:

Post a Comment