Hub Site Error

Roger Roger 7,426 Reputation points
2024-08-21T22:41:15.2366667+00:00

Hi All,

I am using sharepoint online. I have a team site that I want to associate with a hub site. When I go to Site Information on the team site, and select the hub site under Hub Site Association, I receive the following error when I try to save:

IDBFactory.open: Argument 2 is not a finite value, so it is out of range for unsigned long long

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Teams | Microsoft Teams for business | Other
{count} vote

Answer accepted by question author
  1. Emily Du-MSFT 51,951 Reputation points Microsoft External Staff
    2024-08-22T10:26:23.8+00:00

    Please follow below tips to troubleshoot the issue.

    1.Make sure the account you use must have administrator editing privileges to associate hubs to each other.

    2.Clear the browser cache, then associate with a hub site again. If the issue persists, try to associate with a hub site in another browser or PC.

    3.Try to associate with other hub sites, check whether the issue occurs with all hub sites.

    4.Use PnP PowerShell to associate with a hub site.

    #Config Variables
    $TenantSiteUrl = "https://tenant-admin.sharepoint.com"
    $HubSiteURL = "https://tenant.sharepoint.com/sites/test"
    $SiteURL = "https://tenant.sharepoint.com/sites/test1"
     
    #Connect to PnP Online
    Connect-PnPOnline -Url $TenantSiteUrl -Credentials (Get-Credential)
     
    #Associate Site collection with HubSite
    Add-PnPHubSiteAssociation -Site $SiteURL -HubSite $HubSiteURL
    

    5.Go to the SharePoint admin center -> Active sites -> Choose the site -> Hub -> Associate with a hub site.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.