-
Notifications
You must be signed in to change notification settings - Fork 0
Home
GitHub Action edited this page Jul 10, 2026
·
3 revisions
SPSTrust is a PowerShell script tool to configure trust relationships between SharePoint Server farms — exchanging STS/ROOT certificates, publishing service applications, granting Topology and published service-application permissions, and connecting service application proxies across farms.
It follows the Microsoft guidance Share service applications across farms in SharePoint Server and is compatible with all supported on-premises versions (SharePoint Server 2016 to Subscription Edition).
- Declarative, JSON-free configuration via a PowerShell data file (
.psd1) - Idempotent: safe to re-run — it only creates what is missing
-
-CleanServicesswitch to tear down published services and trust -
-ReportOnlyread-only audit mode producing a JSON + HTML trust matrix - Shared logic packaged in the reusable
SPSTrust.Commonmodule - Transcript logging with automatic retention/rotation
- PowerShell 5.1 or later
- CredSSP configured between the servers
- Administrative privileges on the SharePoint servers
- The same farm service account used across all farms being trusted