Fix broken links after SPOSiteSwap
After the SPOSiteSwap document links don't work anymore. The link has been updated but it is not correct so you get a 404 error.
We want to archive the actual root site of our SharePoint. But the site contains a lot of linked documents. After the SPOSiteSwap the links won't work anymore and the SharePoint site is not usable anymore.
Here is an example of the problem:
We have a link stored in a SharePoint List.
Before the SWAP the url is something like: https://tenant.sharepoint.com/:x:g/subsite/...
After the SWAP the url is modified like:
But this link does not work. It should have been modified to https://tenant.sharepoint.com/:x:g/sites/archive/subsite/...
The part "/:x:g" must be at the right place so the link could still work.