> ## Content Index
> Fetch the complete content index at: https://blog.lsonline.fr/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install Workflow Manager for SharePoint 2013
- URL: https://blog.lsonline.fr/2019/02/05/install-workflow-manager-for-sharepoint-2013/
- Published: 2019-02-05T13:56:40.000Z
- Updated: 2026-01-27T18:12:59.000Z
- Description: You have a SharePoint 2013 Farm and you want to know how to install WorkFlow Manager...
- Author: Laurent Sittler
- Tags: WorkFlow Manager, SharePoint, SharePoint 2013, SharePoint 2016

> \[info\]**Important**  
>  
> This installation was performed in May 2016

> \[note\]**Note**  
>  
> Since one of my client is French, he installed all the environment in the French version of SQL Instance database. If it is your case too, please refer to the [issues](#issues) part

![](https://blog.lsonline.fr/content/images/2021/01/Workflow-Manager-Schema-2.png)

SharePoint Farm Servers

> \[info\]**Important**  
>  
> Workflow Manager must be installed on another server than the SharePoint one

## Software Prerequisites

### SharePoint Server

- SharePoint Server (without Workflow Manager Installed)
- Workflow Manager Client

### Workflow Manager Server

- Workflow Manager

## Configuration Prerequisites

1. Create accounts and groups from the AD  
  - WF Setup Account
  - WF Service Account
  - WF Administrator Group (WF Admins)  
    - Setup Account
    - SPAdmin
2. SQL Server Accounts  
  - From SSMS, add **WF Setup Accounts** permissions as a *sysadmin*
3. From the WF Server, logon with an administrator account  
  - Add WF Setup to the *local administrators' group*

## SharePoint Prerequisites

### Minimum recommended services for development environments

The following are the minimum SharePoint 2013 services and service applications recommended for *development environments*:

1. App Management service application
2. Central Administration web site
3. Claims to Windows Token Service (C2WTS)
4. Distributed cache service
5. Microsoft SharePoint Foundation 2013 Site and Subscription Settings service
6. Secure Store Service
7. User Profile service application (SharePoint Server 2013 only)

### Minimum requirements for a single server with a built-in database

[Hardware and software requirements for SharePoint 2013Lists the minimum hardware and software requirements to install and run SharePoint.Microsoft DocsTechwriter40![](https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png)](https://technet.microsoft.com/en-us/library/cc262485.aspx?ref=blog.lsonline.fr#section4)

## Installation and Configuration

### Installation

1. Log to the WF Server with **WF Setup Account**
2. Go to this site URL: [https://msdn.microsoft.com/en-us/library/jj193478.aspx](https://msdn.microsoft.com/en-us/library/jj193478.aspx?ref=blog.lsonline.fr)  
  - click on **Installing Workflow Manager 1.0** link
  - Click on the *installation* link from the content Process Overview. This action will launch the **Web Platform Installer**
3. Search "Workflow Manager" from the search bar and click **Add associate**
4. Click **Install**
5. Arrive at the *configuration Step*, click **Continue** and close all windows
6. Get and install the latest Cumulative update of **Workflow Manager 1.0** [KB2799754](https://www.microsoft.com/en-us/download/details.aspx?id=36800&ref=blog.lsonline.fr) from *Microsoft Download Center* in accordance with the initial language of Workflow Manager
7. Get and install the latest **Cumulative update of Service Bus** [KB2799752](https://www.microsoft.com/en-us/download/details.aspx?id=36794&ref=blog.lsonline.fr) from *Microsoft Download Center* in accordance with the initial language of Workflow Manager

### Configuration

#### Workflow Manager

##### SSL

Usually, all Workflow Manager configurations support SSL encryption for the communications between the SharePoint Server and the Workflow Manager Server.  
Some other steps have to be followed before launching Workflow Manager Configuration Wizard:

1. From WF Server, open an MMC console and get **Add-In Certificate**

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-ComputerCertificateEnrollment-1.png)

Computer Certificate Enrolment

1. Create a Certificate Enrollment Request (AD > Computer)

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-ConfigCertSettings.png)

Configure Certificate Settings

> \[note\]Note  
>  
> For this point, a Certificate Manager must be installed on the Farm Server

##### Wizard

1. On the WF Server, go to **Start Menu** and click on **Workflow Manager Configuration Wizard**
2. Once the Wizard has started, select the **Custom Settings** to configure Workflow Manager

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-LaunchWizard.png)

Launch Workflow Manager Configuration Wizard

1. Fill in the several fields of the configuration form:  
  - SQL Server Instance (DNS Name Server)
  - If you use the SSL encryption (recommended), click on **Advanced Options** and select **Enable SSL connection with SQL Server instance**

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-SSLWFSQL.png)

Enable SSL WF/SQL

  - By default keep all settings since **USER ID** to connect to database. Use WF Service Account (ex: *WFService@contoso*)
  - If you choose to provide an SSL certificate, uncheck **Auto-generate** and specify the Certificates to use (generally, use the same certificate for all services)

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-ProvideCertADCS.png)

Provide Computer Certificates from ADCS

  - At the end of the form, specify the administrator group of WF created previously (ex: *WF Admins* )

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-SpecifyWFAdminsADGroup.png)

Specify WF Admins AD group

  - Finally, check if everything is ok by clicking on the button **Test Connection** at the top of the form

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-CheckWFManagerConfig.png)

Check Workflow Manager configuration

1. Click on the "next step" arrow ( TODO: an error message appear about the certificates not available on `LocalMachine\Personal`)
2. At this step, configure the BUS Service  
  - Check the box **Use the same service account credentials as provided for Workflow Manager**

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-SvcBusConfig.png)

Service Bus Wizard Configuration

  - Uncheck the **Auto-generate** certificate if you provide the certificates and specify them
  - Specify the administrator group of WF created previously (ex: *WF Admins*)

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-SpecifyWFAdminsADGroup-1.png)

Specify WF Admins AD group

  - Check if everything is ok by clicking on the button **Test Connection** at the top of the form

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-TestSvcBusConfig.png)

Test Service BUS Configuration

##### Workflow Manager Client

> \[note\]**Note**  
>  
> This below steps have to be processed on all of SharePoint Servers farm.

1. Download and install **Workflow Manager Client**: [https://www.microsoft.com/en-us/download/details.aspx?id=35375](https://www.microsoft.com/en-us/download/details.aspx?id=35375&ref=blog.lsonline.fr)
2. Download and install the *cumulative update*: [https://www.microsoft.com/en-us/download/details.aspx?id=36800](https://www.microsoft.com/en-us/download/details.aspx?id=36800&ref=blog.lsonline.fr)
3. Be sure you have access to the Workflow Manager Server from the SharePoint Servers (try to access the URL: [https://WF-ManagerServer.contoso.com:12290/](https://wf-managerserver.contoso.com:12290/?ref=blog.lsonline.fr) or [http://WF-ManagerServer.contoso.com:12291/](http://wf-managerserver.contoso.com:12291/?ref=blog.lsonline.fr))
4. Open a **SharePoint Administrator Shell** and **Run As Administrator**
5. Pairing command line:  
  - **HTTPS**  
  ```powershell  
  Register-SPWorkflowService -SPSite "https://intranet.contoso.com" -WorkflowHostUri "https://sp-wfmanager.contoso.com:12290"  
  ```
  - **HTTP**  
  ```powershell  
  Register-SPWorkflowService -SPSite "http://intranet.contoso.com" -WorkflowHostUri "http://sp-wfmanager.contoso.com:12291" -AllowOAuthHttp  
  ```

## SharePoint Designer

1. Download and install **SharePoint Designer 2013** x64 en (the English and 64 bits version is recommended): [https://www.microsoft.com/en-us/download/details.aspx?id=35491](https://www.microsoft.com/en-us/download/details.aspx?id=35491&ref=blog.lsonline.fr)
2. Install the [KB2767858](https://www.microsoft.com/en-us/download/details.aspx?id=36744&ref=blog.lsonline.fr)

---

## Issues

### Pairing

While you are attempting to pair the SharePoint Server and your Workflow Manager Server, an error 404 appear

![](https://blog.lsonline.fr/content/images/2019/01/LsOnline-SP-WFManager-IssuePairingError.png)

Error SharePoint and Workflow Manager Pairing

To fix it, download and install the Workflow Manager CU2 from Web Platform Installer or from the URL: [https://www.microsoft.com/en-us/download/details.aspx?id=42036](https://www.microsoft.com/en-us/download/details.aspx?id=42036&ref=blog.lsonline.fr)

[Register-SPWorkflowService The remote server returned an error: (404) Not FoundThis errors pops out if you have installed SharePoint Server 2013 on Windows Server 2012 R2\. Its true that SharePoint 2013 now supports Windows Server 2012 R2 after the SP1 update. Even though you …![](https://secure.gravatar.com/blavatar/29e2b4b69efe4256aee652ce96e0fcef?s=32)Irshad Nazly's blogIrshadNazly![](https://min2dmax.files.wordpress.com/2014/06/wlemoticon-openmouthedsmile.png)](https://min2dmax.wordpress.com/2014/06/05/register-spworkflowservice-the-remote-server-returned-an-error-404-not-found/?ref=blog.lsonline.fr)

### Register-SPWorkflowService: Failed to query the OAuth S2S metadata endpoint at URI

During the registration, the Workflow Manager is trying to connect to the SharePoint Server and more particularly [http://xxxx/\_layouts/15/metadata/json/1](http://xxxx/%5Flayouts/15/metadata/json/1?ref=blog.lsonline.fr).

To fix this error, ensure:

- The DNS server reference
- Hosts file

[Register-SPWorkflowService Failed to query the OAuth S2s metadata errorScenario: You have followed all the specified TechNet requirements/permissions in setting up SharePoint 2013 and Workflow Manager 1.o farm but when Registering Workflow manager with SharePoint site…![](https://s1.wp.com/i/favicon.ico)SharePoint Deal !hugheser says:![](https://sharepointdeal.files.wordpress.com/2013/07/wferror1.png?w=300)](https://sharepointdeal.wordpress.com/2013/07/08/register-spworkflowservice-failed-to-query-the-oauth-s2s-metadata-error/?ref=blog.lsonline.fr)

### Non-EN SQL Server

**Service Bus 1.1** fix this issue. Before launching the Workflow Manager configuration, uninstall Service Bus 1.0 and install Service Bus 1.1

### Workflow error 401

[https://summit7systems.com/workflow-2013-starts-and-then-immediately-cancels/](http://summit7systems.com/workflow-2013-starts-and-then-immediately-cancels/?ref=blog.lsonline.fr)
  
  
Hoping this post will help you 🚀