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.
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:
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: