-
Notifications
You must be signed in to change notification settings - Fork 109
SPWebAppWorkflowSettings
dscbot edited this page Apr 14, 2025
·
19 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| WebAppUrl | Key | String | The URL of the web application | |
| EmailToNoPermissionWorkflowParticipantsEnable | Write | Boolean | Are documents sent via email to external participants of workflow | |
| ExternalWorkflowParticipantsEnabled | Write | Boolean | Are external workflow participants enabled in the web app | |
| UserDefinedWorkflowsEnabled | Write | Boolean | Are user defined workflows enabled in this web app |
Type: Distributed Requires CredSSP: No
This resource is responsible for setting web application settings that are found under the "workflow settings" screen in central admin. The web application is specified through the URL property, and then any combination of settings can be applied. Any settings not included will be left as the default (or whatever they have been manually changed to within SharePoint).
This example shows how to apply workflow settings to the specific web application
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPWebAppWorkflowSettings PrimaryWebAppWorkflowSettings
{
WebAppUrl = "Shttp://example.contoso.local"
ExternalWorkflowParticipantsEnabled = $false
EmailToNoPermissionWorkflowParticipantsEnable = $false
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