Skip to content

SPProjectServerUserSyncSettings

dscbot edited this page Mar 17, 2023 · 11 revisions

SPProjectServerUserSyncSettings

Parameters

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

Description

Type: Distributed Requires CredSSP: No

This resource is responsible for configuration of the user sync settings between projects and project sites.

Examples

Example 1

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
        }
    }
}
Clone this wiki locally