SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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 2. Added an app catalog to my developer site. This can be done in the SharePoint admin section ( 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. – Johan Frisell Oct 27 '13 at 9:50
Is this a product bug, anyone know? – James Love Oct 27 '13 at 10:01
I am facing same issue. Any solution. I put https:// – asim nadeem Apr 7 '14 at 15:04
@asimnadeem Same here – Vinzenz Feb 23 '15 at 13:06
up vote 1 down vote accepted

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

share|improve this answer
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.. – Vinzenz Feb 23 '15 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.

share|improve this answer

1 fault in the URL will give you the message.

share|improve this answer
Can you please elaborate your answer with some brief description. – Asad Refai Oct 9 '15 at 11:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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