Add-SPOHubToHubAssociation
Associates a hub site to a hub site. Note: This feature is currently in preview and may not be available in your tenant.
Syntax
Add-SPOHubToHubAssociation
[-Source] <SpoHubSitePipeBind>
-Target <SpoHubSitePipeBind>
[<CommonParameters>]
Description
Use this cmdlet to associate a hub site to a hub site.
Examples
Example 1
Add-SPOHubToHubAssociation -Source 7b6fd3a3-b029-4eb0-8e00-ba4a3949807d -Target 43a36572-37ec-45c3-9058-061a2db4cd26
This example associates the source hub site with the HubSiteId 7b6fd3a3-b029-4eb0-8e00-ba4a3949807d with the target hub site with the HubSiteId 43a36572-37ec-45c3-9058-061a2db4cd26.
Parameters
-Source
HubSiteId of the Source Hub site to be associated with the Target Hub Site.
Type: | SpoHubSitePipeBind |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Target
HubSiteId of the Target Hub to associate the source Hub to.
Type: | SpoHubSitePipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Notes
SPOHubToHubAssociation is just a placeholder and not yet ready for production.