Share via


SharePoint 2016: State Service Application Step by Step

This Wiki article will guide you through the steps of creating an import Service Application called State Service. A lot of SharePoint Components required this Service Application to store the status.

There are two ways to create the State Service Application:

  • Central Admin (using Farm Configuration Wizard)
  • Use Powershell

Farm Configuration Wizard

  1. Log in on Central Admin with a farm admin account with Local admin on the server
  2. On the Central Administration Web site, click Configuration Wizards.
  3. On the Configuration Wizards page, click the Launch the Farm Configuration Wizard.
  4. On the first page of the Farm Configuration Wizard, click Start the Wizard.http://i1.wp.com/krossfarm.com/wp-content/uploads/2016/04/14-1.png?resize=720%2C210
  5. On the services configuration page:
  6. Click Next.
    http://i1.wp.com/krossfarm.com/wp-content/uploads/2016/04/17-1.png?resize=720%2C319
  7. Once it completes it will ask you create a new Site collection. Skip this and you are all set.

Create Via Powershell

  1. Launch the SharePoint Powershell console.
  2. Please login with your farm admin account
  3. Run the following command:
$serviceApp = New-SPStateServiceApplication -Name "StateService-App" 
New-SPStateServiceDatabase -Name "SS-Database" -ServiceApplication $serviceApp 
New-SPStateServiceApplicationProxy -Name "StateService-App" -ServiceApplication $serviceApp -DefaultProxyGroup