-
Notifications
You must be signed in to change notification settings - Fork 107
SPWorkflowService
Yorick Kuijs edited this page Dec 27, 2017
·
11 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
WorkflowHostUri | Key | string | The URL of the Workflow Service | |
SPSiteUrl | Key | String | The URL of the Site Collection to associate with the Workflow Service Proxy | |
AllowOAuthHttp | Write | Boolean | Specify whether or not to allow connection to the Workflow Service over Http | |
InstallAccount | Write | PSCredential | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 |
This resource is used to register the SharePoint Server against a Workflow Manager Instance.
Requirements: Provide the url of the Workflow Manager instance to connect to.
This example registers the workflow service over http.
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
SPWorkflowService WorkflowService
{
WorkflowHostUri = "http://workflow.sharepoint.contoso.com"
SPSiteUrl = "http://sites.sharepoint.com"
AllowOAuthHttp = $true
PsDscRunAsCredential = $SetupAccount
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations