Set-SPOCrossTenantRelationship
This cmdlet sends a trust request to the tenant with whom you want to establish trust.
Syntax
Set-SPOCrossTenantRelationship
-PartnerCrossTenantHostUrl <String>
-PartnerRole <OrgRelationRole>
-Scenario <OrgRelationScenario>
[<CommonParameters>]
Description
Use this cmdlet to send a trust request to the tenant with whom you want to establish trust.
Examples
Example 1
Set-SPOCrossTenantRelationship -Scenario MnA -PartnerRole Target -PartnerCrossTenantHostUrl https://contoso-my.sharepoint.com
This cmdlet sends a trust request to the Contoso tenant.
Parameters
-PartnerCrossTenantHostUrl
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 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PartnerRole
Roles 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 |
Accepted values: | Target, Source |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Scenario
Type: | OrgRelationScenario |
Accepted values: | MnA, None |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |