Forum Discussion
Duplicate Hub Names Issue
ErkanCh the unique identifier for SP sites, therefore hubsites as well, is the URL. Perhaps a uservoice?
Information about sites associated to a specific hub is usually cached, and refreshed on a schedule. Immediate changes may not reflect in navigation. If you would want to develop something take a look at https://docs.microsoft.com/en-us/sharepoint/dev/features/hub-site/rest-hubsitedata-method. You can force refresh the data of a particular hubsite.
- ErkanChOct 08, 2019Copper Contributor
mrehmat Hubs can have a different name from their site names. Sites can have duplicate names as they have unique URLs. However, hubs only have a name.
- mrehmatOct 08, 2019Brass Contributor
ErkanCh Hubs are SharePoint sites and will always have a URL. See how PS https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/get-spohubsite?view=sharepoint-ps from the tenant. Best practice is to only allow a hand full of users to permissions to create/modify hub sites and regular audits. A daily script to check of all hub site properties that matter is simple enough. If open access to create/modify hubsites is must AND being able to allow end users to created associated sites; its probably easier to give them a custom solution to provision sites than use the OOTB method.