| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/sharepoint-online/set-spocrosstenantrelationship |
| applicable | SharePoint Online |
| title | Set-SPOCrossTenantRelationship |
| schema | 2.0.0 |
| author | trent-green |
| ms.author | trgreen |
| ms.reviewer |
This cmdlet sends a trust request to the tenant with whom you want to establish trust.
Set-SPOCrossTenantRelationship -PartnerCrossTenantHostUrl <String> -PartnerRole <OrgRelationRole> -Scenario <OrgRelationScenario> [<CommonParameters>]Use this cmdlet to send a trust request to the tenant with whom you want to establish trust.
Set-SPOCrossTenantRelationship -Scenario MnA -PartnerRole Target -PartnerCrossTenantHostUrl https://contoso-my.sharepoint.comThis cmdlet sends a trust request to the Contoso tenant.
The cross-tenant URL of the partner tenant. The partner tenant can determine this for you by running Get-SPOCrossTenantHostUrl on each of the tenants.
Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseRoles of the partner tenant you're establishing trust with. Use source if the partner tenant is the source of the OneDrive migrations, and target if the partner tenant is the destination.
Type: OrgRelationRole
Parameter Sets: (All)
Aliases:
Accepted values: Target, Source
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: OrgRelationScenario
Parameter Sets: (All)
Aliases:
Accepted values: MnA, None
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.