Skip to content

Getting Started

GitHub Action edited this page Oct 29, 2024 · 3 revisions

Getting Started

Prerequisites

  • PowerShell 5.0 or later
  • CredSSP configured
  • Administrative privileges on the SharePoint Server

Configure CredSSP

Option 1: Manually configure CredSSP

You can manually configure CredSSP through the use of some PowerShell cmdlet's (and potentially group policy to configure the allowed delegate computers). Some basic instructions can be found at https://technet.microsoft.com/en-us/magazine/ff700227.aspx.

Option 2: Configure CredSSP through a DSC resource

It is possible to use a DSC resource to configure your CredSSP settings on a server, and include this in all of your SharePoint server configurations. This is done through the use of the xCredSSP resource. The below example shows how this can be used.

xCredSSP CredSSPServer { Ensure = "Present"; Role = "Server" }
xCredSSP CredSSPClient { Ensure = "Present"; Role = "Client"; DelegateComputers = $CredSSPDelegates }

In the above example, $CredSSPDelegates can be a wildcard name (such as "*.contoso.com" to allow all servers in the contoso.com domain), or a list of specific servers (such as "server1", "server 2" to allow only specific servers).

Installation

  1. Download the latest release and unzip to a directory on your SharePoint Server.
  2. Prepare your JSON configuration file, see Configuration page for more details.
  3. Run the script with the following command:
.\SPSTrust.ps1 -ConfigFile 'contoso-PROD.json' -FarmAccount (Get-Credential)

Next Step

For the next steps, go to the Configuration page.

Change log

A full list of changes in each version can be found in the change log.