none
sharepoint add-in multi site installation RRS feed

  • Question

  • developing a provider-hosted application where the application redirects to different pages of a web application hosted on an azure web site. This website also handles the app installed event.
    The problem is that in the web.config of the site, we need to add a client ID and Password, but these (Client ID/Password) are automatically generated by the SharePoint Online app registration page, after we register the application on the SharePoint online site.

    So if we install the app on this SPOnline Site , it works fine, but if we try to install it on another site when it redirects to the azure web site page, we got an authentication error. need to add a unique client ID and password to the azure web site so when the SharePoint app in being installed on any Client ‘s SharePoint site can be identified as safe, authenticated and well-functioning with the azure site.
    In the current process, we have to create an azure web site for each SharePoint Site where the application is being installed How is this done with SharePoint plugins? Does the provider have to generate the Id and secret on each SharePoint Site.

    In the SharePoint web provider project code , I found something called HostedAppSigningKey and HostedAppName , but did not find any tutorial about that. Can these be used for a solution?


    Thursday, November 10, 2016 1:21 PM