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.
You May Also like the Following SharePoint Tutorials: