question

LW-9739 avatar image
0 Votes"
LW-9739 asked CaseyYangMSFT-4714 commented

After url interchange, two Sharepoint sites' access levels are in sync - how to solve this

I have two Sharepoint sites - a teamsite as https://.sharepoint.com/sites/A and a communication site https://.sharepoint.com/sites/B.
I want to use url 'sites/A' for the communication site, so I changed the 'sites/A' to 'sites/C' and then changed the url 'sites/B' to sites/A'.

Resulting from that, when I try to change access level for the communication site, I find I couldn't do that. But if I change access level for the teamsite, the changes will be automatically reflected in the commmunication site. It seems the access levels of the two sites are in sync now. One user will have the same access for the two sites. That's very strange.
How can I solve this?

Thank you.

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CaseyYangMSFT-4714 avatar image
0 Votes"
CaseyYangMSFT-4714 answered CaseyYangMSFT-4714 commented

Hi @LW-9739,

As part of changing a SharePoint site address, Microsoft automatically create redirects to ensure that links pointing to the prior URL continue to work. These redirects are sites that use a special site template at the prior site URL.

So if you want to free up the team site old URL to use it for communication site. You need to delete the team site redirect.

Note: Before deleting the redirect, we suggest you change communication site url back to "site/B", in case of missing or wrong data.

1.You could run the following PowerShell command to delete the team site redirect:

 Remove-SPOSite -Identity https://contoso.sharepoint.com/sites/OldSiteName

2.To confirm that the redirect has been deleted, you could run the following PowerShell command. It will return that we cannot get the site:

 Get-SPOSite -Identity https://contoso.sharepoint.com/sites/OldSiteName 

3.Then you could re-use the old team site url and change the communication site url to "sites/A"

For Reference: Manage site redirects


If an Answer is helpful, please click "Accept Answer" and upvote it.

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.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LW-9739,

I'm checking how the things are going on about this issue. Is there any progress on this issue?

0 Votes 0 ·

Hi @LW-9739,

I'm checking how the things are going on about this issue. Is there any progress on this issue?

0 Votes 0 ·