locked
Is a ClientId and Certificate always needed for a Microsoft SharePoint Provider hosted app? RRS feed

  • Question

  • I do not understand the following thing in SharePoint Provider Hosted Add-In development:

    When you create a SharePoint Provider Hosted Add-In you create a ClientId/-Secret and also for High Trust Apps a SSL certificate on the IIS with a password.

    My question is:

    Do i need to create for each of my provider hosted applications a dedicated SSL certificate and provide it with the password to the developer? And also always need to create a separate ClientId and -secret for each app?
    • Edited by [Yavuz B.] Monday, November 14, 2016 1:43 PM
    Monday, November 14, 2016 1:42 PM

Answers

  • Hi Yavuz,

    You have to create a client Id and Secret for every SharePoint Provider Hosted App, but you can use the same security certificate.

    Probably you already know this but to achieve the client id and secret you have to go on the following SharePoint URL:

    http://<SharePointWebsite>/_layouts/15/AppRegNew.aspx

    like described here:

    https://msdn.microsoft.com/en-us/library/office/jj687469.aspx?f=255&MSPPError=-2147217396

    Kind regards


    Giuliano De Luca - MCSD SharePoint, MCSD Web Applications, MCPS, MS. www.delucagiuliano.com Twitter: @giuleon

    Monday, November 14, 2016 2:56 PM