[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 part
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

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 2013
Lists the minimum hardware and software requirements to install and run SharePoint.

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
    • 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 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 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
Computer Certificate Enrolment
  1. Create a Certificate Enrollment Request (AD > Computer)
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
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
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)
Provide Computer Certificates from ADCS
    • At the end of the form, specify the administrator group of WF created previously (ex: WF Admins )
Specify WF Admins AD group
    • Finally, check if everything is ok by clicking on the button Test Connection at the top of the form
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
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)
Specify WF Admins AD group
    • Check if everything is ok by clicking on the button Test Connection at the top of the form
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
  2. Download and install the cumulative update: https://www.microsoft.com/en-us/download/details.aspx?id=36800
  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/ or http://WF-ManagerServer.contoso.com:12291/)
  4. Open a SharePoint Administrator Shell and Run As Administrator
  5. Pairing command line:
    • HTTPS
      Register-SPWorkflowService -SPSite "https://intranet.contoso.com" -WorkflowHostUri "https://sp-wfmanager.contoso.com:12290"
      
    • HTTP
      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
  2. Install the KB2767858

Issues

Pairing

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

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

Register-SPWorkflowService The remote server returned an error: (404) Not Found
This 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 …

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.

To fix this error, ensure:

  • The DNS server reference
  • Hosts file
Register-SPWorkflowService Failed to query the OAuth S2s metadata error
Scenario: 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…

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/



Hoping this post will help you 🚀

You may also be interested in