Setup App Environment in SharePoint 2013: Part 3

Please find the following links for the previous articles:

Here we will see how to start the required services and set up the service application.

Start the required services

  1. Applications rely on the App Management and Microsoft SharePoint Foundation Subscription Settings service applications. These service applications use the multi-tenancy features to provide application permissions and create the subdomains for applications.

  2. In this step we need to start the required 2 services.

  3. Navigate to SharePoint 2013 Central Administration -> System Settings -> Services on Server.

  4. Here locate the required services like App Management Service and Microsoft SharePoint Foundation Subscription Settings service.

  5. Click on the Start button next to these services.

  6. Verify that the App Management and Microsoft SharePoint Foundation Subscription Settings services are running. See the following screenshot:

    services on server

Setup Required Service Applications

  1. Here In this step we will be creating 2 service applications as said above, “App Management Service Application” and “Subscription Settings Service Application”. We can configure the App Management Service Application using the UI in SharePoint Central Administration. However SharePoint has not provided a UI interface to configure a later one so the only way to configure the Subscription Settings Service Application is to use PowerShell and as we all know Microsoft recommends SharePoint Admins to PowerShell as it has great power.

  2. Let's see now how to configure “App Management Service Application”.

  3. Here I have assumed you are using the System Account to configure these Service Application.

  4. Navigate to SharePoint 2013 Central Administration -> Application Management -> Manage Service Application Page then select the New tab in the Ribbon and select App Management Service. See the following screenshot.

    app management

  5. You will be shown a screen like this. See the following screenshot.

    new app management

  6. Fill in the required fields depending on your needs and click on Ok. Now our App Management Service Application should be created successfully.

  7. Now let's create Subscription Settings Service Application. Run the following PowerShell script.
    1. $subscriptionSettingsServiceApplicationName = 'Subscription Settings Service Application'  
    2. $pool = Get-SPServiceApplicationPool 'SharePoint Web Services Default'  
    3. $subscriptionSettingsServiceDB= 'Sharepoint_SiteSubscriptionSettingsServiceDB'  
    4. $subscriptionSettingsServiceApplication = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $pool -Name $subscriptionSettingsServiceApplicationName -DatabaseName $subscriptionSettingsServiceDB   
    5. $subscriptionSettingsServicApplicationProxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $subscriptionSettingsServiceApplication  
    It should create your "Subscription Settings Service Application" successfully.

    Subscription Settings Service Application
Here In this article we have completed and understood how to set up the required services and Service Application setup for the Application Development environment in SharePoint 2013.

In the next article we will be completing the next procedure for it.

Until then Happy SharePointing!