Error while associating site to hub site
While running Add-SPOHubSiteAssociation command in Powershell it is triggering error " the term Add-SPOHubSiteAssociation is not recognized as the name of cmdlet.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 0b2d3278-d6e5-9604-7905-23437b2f1f0e
- Version Independent ID: 936b2abc-f151-73ec-a95f-0d20c68c5c37
- Content: Create SharePoint hub sites using PowerShell
- Content Source: docs/features/hub-site/create-hub-site-with-powershell.md
- Service: unspecified
- GitHub Login: @spdevdocs
- Microsoft Alias: spdevdocs
That indicates that you do not have the latest version of the SharePoint Online PowerShell installed on your computer. You can download the latest version from https://www.microsoft.com/en-us/download/details.aspx?id=35588.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues