Skip to content

Latest commit

 

History

History
96 lines (71 loc) · 2.58 KB

File metadata and controls

96 lines (71 loc) · 2.58 KB
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

Set-SPOCrossTenantRelationship

SYNOPSIS

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
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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
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: False

-Scenario

Type: 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: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

RELATED LINKS

Getting started with SharePoint Online Management Shell