Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

failed to make Provider Hosted app work

$
0
0

Hi everybody,

I am using VS 2013 and created a simple Provider-Hosted app (used MVC). I have generate Client Secret and Client Id from _layouts/15/appregnew.aspx, updated web.config file and appmanifest.xml file. I have now two problems.

1. When it does not contain any AppEventHandler, I scceeded to install the app on my online tenant and the mvc project to an Azure web site, but it throws an exception when it executes SharePointContextFilter and says Invalid issuer or signature

2. I comment the code and add an AppEventHandler, package the app and add it to the app catalog (my online tenant), However when I try to add the app, it says "something went wrong with adding the app". I remove the AppEventHandler by going to the project file properties and changing Handle app installed to false then I can add the app agian.

Thanks for helping me




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>