Month: October 2017

Configure Workflow for SharePoint 2016

1. Configure App Management Service

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "AppManagementServiceApplicationPool"
$svcAppName = "App Management Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$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"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$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

 

References

 

Advertisements