Configure Workflow for SharePoint 2016

1. Configure App Management Service

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "AppManagementServiceApplicationPool"
$svcAppName = "App Management Service Application"
$dbName = "AppManagement"
$svcAppProxyName = "App Management Server Application Proxy"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPAppManagementServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPAppManagementServiceApplicationProxy -Name $svcAppProxyName -UseDefaultProxyGroup -ServiceApplication $svcApp

2. Configure Site Subscription Service

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "SubscriptionSettingsServiceApplicationPool"
$svcAppName = "Subscription Settings Service Application"
$dbName = "SubscriptionSettings"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPSubscriptionSettingsServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $svcApp

3. Install Workflow Manager via Web Platform Installer 5.0

4. Configure Workflow Manager via Workflow Manager Configuration Wizard

5. Configure SharePoint 2016

$siteUrl = "http://localhost"
$workflowHostUrl = "http://localhost:12291"

Register-SPWorkflowService -SPSite $siteUrl -WorkflowHostUri $workflowHostUrl -AllowOAuthHttp




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s