Steps for Installing SharePoint Provider Hosted App On Premise
July 18, 2017 - 2 min read
- Create SharePoint 2013 Farm
- Create SharePoint site collection with development template.
- Upload app into “app in testing” library.
- Create new site using IIS on the vm where the SharePoint is installed.
- Assign identity for application pool for database connection string to use windows authentication.
- Install App Management Shared Service Proxy.
- Miscellaneous Findings
- Useful Resources
Create SharePoint 2013 Farm
This step is easy when you use the new azure portal. Which allows you to provision a new farm with a click of a button (and fill in some setup configurations.
Follow the instruction in the below link. http://msdn.microsoft.com/en-us/library/office/fp179901.aspx
Assign identity for application pool for database connection string to use windows authentication
Assigned identity spsetup_ for the application pool and changed web.config to use the sql server, and integrated security.
App Management Shared Service Proxy is not installed.
This error is because you do not have an App Management Service created and or the Subscription Settings Service in your Service Applications. To resolve this issue go to Central Administration and click the link “Manage service applications” under Application Management. Create the App Management Service application by clicking New → App Management Service. Type an applicable name of the service and application pool (reference).
Create DNS CNAME entry for the app domain
From cmd.exe, enter these commands:
dnscmd.exe . /ZoneAdd ContosoApps.com /dsprimary dnscmd.exe . /RecordAdd contosoapps.com * CNAME contoso.com
If you get the following error:
Settings or services required to complete this request are not currently available. Try this operation again later. If the problem persists, contact your administrator.
Start the Managed Meta data Web Service from the services on server page in central admin.
The SharePoint web application needs to support https ssl. If not setup, you may get following error messages
SEC7111: HTTPS security is compromised by http://sharepoint.contoso.com/sites/dev/_layouts/15/SP.Runtime.js?=1416849419923
Written by Harish H. Babu who lives and works in Cardiff engineering software things. You should follow him on Twitter