SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

Add-SPOHubSiteAssociation : The HubSite ID must be specified for multi-geo tenant instances #6455

Closed TroyHostetter closed 3 years ago

TroyHostetter commented 3 years ago

Category

Describe the bug

We have a multi-geo SPO and cannot associate sites to the hub using PnP. Here's the error.

Add-SPOHubSiteAssociation : The HubSite ID must be specified for multi-geo tenant instances. At line:7 char:1

Steps to reproduce

Execute these cmdlets on a multi-geo SPO

Connect-SPOService -Url https://client-admin.sharepoint.com/ -Credential (Get-Credential) Add-SPOHubSiteAssociation -Site "https://client.sharepoint.com/sites/projects-cadisc" -HubSite "https://client.sharepoint.com/sites/dmohub" Disconnect-SPOService

Expected behavior

The site is associated with the hub site.

Environment details (development & target environment)

ghost commented 3 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost commented 3 years ago

Thank you for your submission. As explained in our wiki (Issue List: What doesn't belong in the issue list), this issue list is for SharePoint developer/development issues. All capability question/discussion questions, or topics related to SharePoint administration & end-user topics should be reported through the support user interface available in the tenant admin settings. You can also have a discussion and ask questions at the SharePoint TechCommunity forum. You can learn more about this in our wiki: type:invalid-not-dev-issue