Skip to content

SPProjectServerUserSyncSettings

Yorick Kuijs edited this page Nov 8, 2018 · 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
InstallAccount Write PSCredential POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

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