Connections to the SharePoint server are currently disabled because the project is in Offline mode error while developing SharePoint Hosted App for Office 365 SharePoint Online

Connections to the SharePoint server are currently disabled because the project is in Offline mode error while developing SharePoint Hosted App for Office 365 SharePoint Online

In this post, we will discuss how to resolve the issue which comes while deploying a SharePoint hosted app to Office 365 SharePoint Online site. Recently while trying to deploy a SharePoint hosted app I got the below error like below:

Connections to the SharePoint server are currently disabled because the project is in Offline mode. To connect to the SharePoint server, switch to the Online mode by setting the project’s Server Connection property to Online, and then try the operation again.

Connections to the SharePoint server are currently disabled because the project is in Offline mode error while developing SharePoint Hosted App for Office 365 SharePoint Online
Connections to the SharePoint server are currently disabled because the project is in Offline mode error while developing SharePoint Hosted App for Office 365 SharePoint Online

Also, read:
Display SharePoint list item using AngularJS REST API SharePoint online

Steps to add custom Tile to Office 365 App Launcher

Working with Enterprise Metadata and Keywords Settings for List and Document library in SharePoint Online

Solution:
Here we need to set the Server Connection to Online.

Right click on the Project and then Click on Properties.


Then in the Properties box, change Server Connection from Offline to Online like below:

Connections to the SharePoint server are currently disabled because the project is in Offline mode error while developing SharePoint Hosted App for Office 365 SharePoint Online
Connections to the SharePoint server are currently disabled because the project is in Offline mode error while developing SharePoint Hosted App for Office 365 SharePoint Online

Hope this will be helpful.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →