-
Notifications
You must be signed in to change notification settings - Fork 107
SPProjectServerUserSyncSettings
Yorick Kuijs edited this page Jun 13, 2018
·
11 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Url | Key | string | The default zone URL of the Project site to set user sync settings for | |
EnableProjectWebAppSync | Required | boolean | Enable Project Web App Sync | |
EnableProjectSiteSync | Required | boolean | Enable Project Site Sync | |
EnableProjectSiteSyncForSPTaskLists | Required | boolean | Enable Project Site Sync for SharePoint Task List Projects | |
InstallAccount | Write | PSCredential | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 |
Type: Distributed
This resource is responsible for configuration of the user sync settings between projects and project sites.
This example demonstrates how to set user sync settings for a PWA site
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPProjectServerUserSyncSettings UserSyncSettings
{
Url = "http://projects.contoso.com/pwa"
EnableProjectWebAppSync = $true
EnableProjectSiteSync = $true
EnableProjectSiteSyncForSPTaskLists = $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