I've setup Visual Studio 2013 RC and a Office 365 developer site. I can create an app using Nappa and open it in VS from there. But if I create a Sharepoint hosted app project in VS and point it to the url of my developersite it get stuck on "communicating with sharepoint" for a long while and then asks if I want to set the project in "offline mode", obviously I click "no" and then visual studio hangs.

  • 2
    Did you ever get any answers to your question? I have the same problem :( Edit: I solved the problem. I made two changes. Not sure which one of them actually was the solution. 1. Changed the url to https://mydomain.sharepoint.com. 2. Added an app catalog to my developer site. This can be done in the SharePoint admin section (mydomain-admin.sharepoint.com) right under the apps section (first option in the right hand menu). I would guess the only real problem was the https protocol but since I didnt try them out one by one I chose to post both as a possible solution. Oct 27, 2013 at 9:50
  • Is this a product bug, anyone know?
    – James Love
    Oct 27, 2013 at 10:01
  • 1
    I am facing same issue. Any solution. I put https:// Apr 7, 2014 at 15:04
  • @asimnadeem Same here
    – Vinz
    Feb 23, 2015 at 13:06

3 Answers 3


The answer is not obvious. You need to prefix the url of the site with httpS:// and not http://.

  • This may be one answer. But I'm facing the same problem as described above and I use HTTPs. So there are other reasons for the communication to fail aswell..
    – Vinz
    Feb 23, 2015 at 13:05

You definitely need both the https and an app catalog on your office 365 (SharePoint Online) site to resolve the "Connecting to SharePoint" issue in Visual Studio.


1 fault in the URL will give you the message.

  • Can you please elaborate your answer with some brief description.
    – Asad Refai
    Oct 9, 2015 at 11:16

Your Answer

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

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