Configure Apps For SharePoint 2013

Configure App Management and Subscription Settings service applications

  1. Navigate to SharePoint 2013 Central Administration/ System Settings.
  2. Click "Manage services on server".
  3. Start the services "App Management Service" and "Microsoft SharePoint Foundation Subscription Settings Service" as shown in the following:

Settings Service

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 App Management service

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.
 
Configure the Subscription Settings service

Navigate to Central Administration/ Application Management / Manage Service Applications.
 
Navigate to Central Administration

You will see that the Service Applications will be visible as in the following screenshot.
 
 Service Applications

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.
 
Configure App URLs 
Configure App URLs 

Up Next
    Ebook Download
    View all
    Learn
    View all