M365 – Changing URL of Hub site – Lesson learned
Greetings for the day 🙂 LIFE IS BEAUTIFUL:)
Today, small article but sharing new learning related to changing the URL of Hub sites. Its always something learning while working with SharePoint 🙂
Background: One of our customer asked to changed the URL of sites. Since MS recently made available this feature, I confidently said Yes to customer.
Customer shared the URL. When I went to admin center I realized that URL which customer shared is of HUB site and we cant change the URL of HUB site as
Or, we will get following error as
I went through documentation Its clearly mentioned about this point, I missed reading between the lines :(.
But I am able to change URL of normal communication site as
Solution / Approach used: Googled bit but no luck 🙁
Only option I could thought is “Unregister as hub site”, change the URL and again “Register as hub site”. But as we unregister we will get an warning as “all the associated sites will be disassociated”
Once hub site unregistered we could easily change the URL of site since which become normal site.
Also one of beauty of this feature is once URL is changed we can again register given site as HUB and all disassociated sites will be reassociated 🙂 This is very cool since even though we have 100 sites associated we don’t need to worry about associated sites 🙂
Have a great day ahead and wonderful life 🙂