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 |
Related Links
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per