Hi @IniobongNkanga-8038,
Thank you for posting in this community.
The first issue is that some SharePoint Sites still contain old domain names.
Domain name changes will be completed within 24 hours to 30 days, and it is likely that the renaming issue for your domain is still ongoing. If you are starting this renaming task more, please wait a few more days.
Perhaps you have been waiting for a while, but the change is still not complete, please try using PowerShell to bulk change the old site URLs:
Ensure you have the necessary permissions to perform these actions. In order to avoid data loss, it is recommended to experiment with a small number of sites and make backups in advance.
- Prepare a CSV File:
- Create a CSV file with a column for the old URLs and a column for the new URLs. For example:
OldUrl,NewUrl
https://old-domain.sharepoint.com/sites/site1,https://new-domain.sharepoint.com/sites/site1
https://old-domain.sharepoint.com/sites/site2,https://new-domain.sharepoint.com/sites/site2
- Connect to SharePoint Online:
- Import the CSV and Update URLs:
- Verify the Changes:
The second issue is that your Teams channel still linking to the old SharePoint site.
First, make sure that all of your affected sites have switched to the new domain, and then clear your Teams cache to see if the issue still exists.
- Clear Teams Cache:
- Sometimes, clearing the Teams cache can help resolve issues with outdated links.
- Close Teams.
- Navigate to
%appdata%\Microsoft\Teams
on your local machine.
- Delete the contents of the
Cache
, blob_storage
, databases
, GPUCache
, IndexedDB
, Local Storage
, and tmp
folders.
- Restart Teams.
Secondly, if the problem still exists, then I would have to manually relink to the new SharePoint site.1. Add a New Tab in Teams:
- Open the Teams channel you want to update.
- Click on the "+" (Add a tab) next to the existing tabs.
- Select SharePoint from the list of available apps.
- Choose "Use a SharePoint link" and paste the URL of the new SharePoint site or document library1.
- Update the Files Tab:
- If you want to update the default Files tab, you might need to manually move the files from the old SharePoint site to the new one.
- Navigate to the Files tab in the Teams channel.
- Click on "Open in SharePoint" to access the SharePoint site.
- Move or copy the files to the new SharePoint site.
- Re-link Existing Tabs:
- For any existing tabs that link to SharePoint content, you will need to update the URLs to point to the new domain.
- Click on the tab you want to update, then select "Settings" or "Edit" (depending on the tab type).
- Update the URL to the new SharePoint site.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.