Hub Site Error

Roger Roger 5,791 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

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,981 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,599 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,494 questions
{count} votes

Accepted answer
  1. Emily Du-MSFT 45,991 Reputation points Microsoft Vendor
    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 Answers by the question author, which helps users to know the answer solved the author's problem.