Additional file-related features and issues within Microsoft Teams for business
Hi Krizso,
Based on your description, it appears that when opening book.xlsx, the file still shows the name book.xlsx but actually loads the updated content from book_2.xlsx. This behavior may be related to how files are stored and accessed through Microsoft Teams and its underlying Microsoft SharePoint document library. You may try the following checks to help identify the cause:
1/ Check whether the old file was replaced in Teams/SharePoint
In Teams, files are actually stored in a SharePoint document library. If someone uploaded book_2.xlsx and accidentally overwrote book.xlsx, the link to book.xlsx may now point to the updated content. Please check the following:
- Go to the Files tab in the Teams channel.
- Locate book.xlsx.
- Click … (More options) > Version history.
- Verify whether a newer version containing the content of book_2.xlsx replaced the original file.
- If this is the case, you may restore the previous version from the version history.
2/ Check for browser or Teams caching issues
Sometimes Teams or the browser may load a cached version of a file.
- Close Microsoft Teams completely.
- Clear the Teams cache by following the guidance in the Microsoft article below: https://learn.microsoft.com/en-us/troubleshoot/microsoftteams/teams-administration/clear-teams-cache
- Reopen Teams and try opening the file again.
- Try opening the file directly in the Excel desktop application.
- Then, try to clear the browser cache before opening the file again with the option via the browser
- Download book.xlsx and book_2.xlsx, then open them locally to compare the content.
3/ Check if the file was renamed and replaced
Another possible scenario is that:
- book.xlsx was renamed to book_2.xlsx, and
- A new file was later uploaded using the name book.xlsx.
In this situation, some links may still reference the latest version stored in the same location, which can cause confusion.
Steps to check:
- Open the SharePoint site associated with the Teams channel.
- Go to the Documents library.
- Check the Modified date and modified by columns for both files.
4/ Verify whether an old link or shortcut is being used
If the file is opened from a Teams chat attachment or a pinned file or an old, shared link, the link might actually point to book_2.xlsx while still displaying the original name.
- Go directly to the Files tab in the Teams channel.
- Open book.xlsx from there instead of using an older link.
5/ Check for OneDrive synchronization issues
If the Teams document library is synced locally via Microsoft OneDrive, a temporary sync issue may cause files to display incorrect content.
- Pausing the OneDrive sync.
- Resuming the sync afterward.
- Opening the files directly from SharePoint Online to confirm the correct version.
I hope this information helps. If you have any additional details or questions, please feel free to share them.
If this response resolves your issue, kindly click Accept Answer and consider upvoting. If you need further clarification, 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.