0
votes

I need to deploy SharePoint 2013 Provider hosted app on Microsoft Azure and SharePoint 2013 On Premise. The same app works well when deployed on Microsoft Azure and SharePoint 2013 Online, however I get SharePoint Context error in case of SharePoint on premise. app correctly redirects to azure site. any help in this regard would be highly appreciated.

1
Hi Mithun, I am trying to acheive this same behaviour as you did. But I am a new bee in both SharePoint Online and App creation. So can you please guide for how to make shaerpoint online app to be added in app catalog for the SharePoint 2013 onpremise.When I tried to add my SharPoint online app in SharePoint 2013, it has the value in appcat as Valdia app package as NO. Any help is appreciated.Sigar Dave

1 Answers

1
votes

For on premise, you need to setup high trust app and generate client context using windows authentication since there is no token available for on premise.

Please find below steps to setup on premise app and troubleshooting steps

http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx

Please provide error message