Answered by:
Provider Hosted SharePoint Apps that are available to both SharePoint Online and On-Premise

Question
-
Hello,
I am new to the SharePoint App concept and need some guidance. The answer to this may be much easier than I am making this out to be. I have read the TechNet material on SharePoint Apps and I am having difficulties trying to conceptually take what I read to apply it to my scenario. The basic issue I am having is figuring out what needs to be correctly done to make my on-premise remote web accessible to both my on-premise SharePoint farm as well as my SharePoint online tenant.
In case it helps, here is what I am trying to do. I am writing a provider hosted SharePoint App that is just a web part that I need to drop on a SharePoint page and has server side code that queries data from a SQL database and displays results back to the web part to show back on the page. Other than the app showing on a SharePoint page it does not interact with SharePoint at all. The server side code (remote web) will be running from a separate server (Windows 2012) on-premise that is accessible from outside our network. I need the SharePoint App to be accessible from both my on-premise SharePoint 2013 farm as well as my SharePoint Online farm.
I think I have an idea of what needs to be done to make this happen but I am hoping that someone can point me in the right direction.
Wednesday, May 6, 2015 7:31 PM
Answers
-
Hi,
We need develop SharePoint Low-Trust Apps for On-Premises and SharePoint Online, the following articles for your reference:
SharePoint Low-Trust Apps for On-Premises Deployments
Create a provider hosted app for SharePoint Online
https://coderwall.com/p/unh2xw/create-a-provider-hosted-app-for-sharepoint-online
How to publish our provider hosted app on SharePoint Online
http://blog.ctp.com/2014/09/11/how-to-publish-our-provider-hosted-app-on-sharepoint-online/
Best Regards,
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Proposed as answer by Patrick_Liang Sunday, May 17, 2015 2:46 AM
- Marked as answer by Patrick_Liang Monday, May 18, 2015 12:26 AM
Thursday, May 7, 2015 9:42 AM
All replies
-
Hi,
We need develop SharePoint Low-Trust Apps for On-Premises and SharePoint Online, the following articles for your reference:
SharePoint Low-Trust Apps for On-Premises Deployments
Create a provider hosted app for SharePoint Online
https://coderwall.com/p/unh2xw/create-a-provider-hosted-app-for-sharepoint-online
How to publish our provider hosted app on SharePoint Online
http://blog.ctp.com/2014/09/11/how-to-publish-our-provider-hosted-app-on-sharepoint-online/
Best Regards,
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Proposed as answer by Patrick_Liang Sunday, May 17, 2015 2:46 AM
- Marked as answer by Patrick_Liang Monday, May 18, 2015 12:26 AM
Thursday, May 7, 2015 9:42 AM -
Thank you for responding Dennis.....I appreciate your help. I will read through the information.Thursday, May 7, 2015 11:45 AM