Configure App Management and Subscription Settings service applications
- Navigate to SharePoint 2013 Central Administration/ System Settings.
- Click "Manage services on server".
- Start the services "App Management Service" and "Microsoft SharePoint Foundation Subscription Settings Service" as shown in the following:
Configure the App Management service application by using Windows PowerShell as in the following:
$account = Get-SPManagedAccount <AccountName>
$appPoolAppSvc = New-SPServiceApplicationPool -Name CustomAppServiceAppPool -Account $account
$appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name CustomAppServiceApp -DatabaseName <AppServiceDB>
$proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc
<AccountName> is the name of the managed account in the SharePoint farm.
<AppServiceDB> is the name of the App Management service database.
Configure the Subscription Settings service application using Windows PowerShell as in the following:
$account = Get-SPManagedAccount <AccountName>
$appPoolSubSvc = New-SPServiceApplicationPool -Name CustomSettingsServiceAppPool -Account $account
$appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name CustomSettingsServiceApp –DatabaseName <SettingsServiceDB>
$proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc
<AccountName> is the name of the managed account in the SharePoint farm.
<SettingsServiceDB> is the name of the Subscription Settings service database.
Navigate to Central Administration/ Application Management / Manage Service Applications.
You will see that the Service Applications will be visible as in the following screenshot.
Configure app URLs using Windows PowerShell
This is the final step. Run the following:
Set-SPAppDomain <appDomain>
Set-SPAppSiteSubscriptionName -Name "app" -Confirm:$false
# <appDomain> is the domain name that is available/ created.
On successful run, navigate to "Central Administration" - > "Apps". Click "Configure App URLs" and the values will be populated.