SOLVED

HUB Association and changing site address

Copper Contributor

Hi all,

 

due to a change of business units in our organization, we needed to change site addresses of some sites (around 50) because our URLs relay on a naming convention including a short for business unit.

 

One of these Sites was a HUB-Site and three of them were associated to that HUB.

We removed the HUB registration from the HUB-Site by UI in Admin-Center which removed the association to the three other sites also.

If I then tried to change the Site-URL of the previous mentioned HUB-Site, UI and Console had errors. - OK, I know there is a delay sometime, so i waited until the next day and did a retry.

Now, changing the site address was working.

Then I tried to change the site address of the three other sites, which were previously associated to the HUB.

The UI and even the console are telling me, that I cannot change the site address, because this site is a HUB site and I should deregistster this site as a HUB-Site:

 

RonLevy_0-1689075419058.png

This happens to all three sites if I try to change the site address.

NONE of these sites have ever been a HUB-Site!

 

The console has two errors regarding this action.

First means "no renaming order for the site":

RonLevy_1-1689075585983.png

 

Second is "This site is already a Hubsite":

RonLevy_2-1689076010728.png

 

If I view the three site in admin center they are shown without any association:

 

RonLevy_3-1689076241989.png

 

If i Open up the Details-Panel, I can see 'None' for Hub Association: 

 

RonLevy_4-1689076298370.png

If I then click Edit, the DropDown is empty, but here should "None"

 

RonLevy_5-1689076370620.png

Even if I try to change the site address by PS with 

Start-SPOSiteRename and parameter -ValidationOnly, I get the same error message, that this site is a Hubsite, which is of course not true:

 

RonLevy_6-1689076519513.png

 

Does anybody run into the same issue and may have a solution?

Thx, Ronny

 

 

2 Replies
I am still stuck here. If I try to remove the Association by PS, I get this:

Remove-PnPHubSiteAssociation : This site is already a HubSite.

Nobody?
best response confirmed by RonLevy (Copper Contributor)
Solution
Ok, I can'T wait any longer for some experts.
I tried to delete these three sites by UI (Admin-Center), but that did'nt worked.
I tried by PowerShell and that did'nt worked either.
I had to delete the sites from the sites itself (settings/Delete this site)
Weired interface implementation within SharePoint. I will mark this as the best response as there was no help from others.
1 best response

Accepted Solutions
best response confirmed by RonLevy (Copper Contributor)
Solution
Ok, I can'T wait any longer for some experts.
I tried to delete these three sites by UI (Admin-Center), but that did'nt worked.
I tried by PowerShell and that did'nt worked either.
I had to delete the sites from the sites itself (settings/Delete this site)
Weired interface implementation within SharePoint. I will mark this as the best response as there was no help from others.

View solution in original post