Share via

Teams opens the wrong file

Krizso 0 Reputation points
2026-03-10T08:22:49.06+00:00

Last month I sent an Excel file to my collegue (book.xlsx), now I sent him a new one (book_2.xlsx) with updated data. Every time any one of us tries to open the older version (book.xlsx) it always opens the new one (book_2.xlsx), BUT it shows the previous name (book.xlsx)!

It does the same thing either opening in the browser or in Excel itself.

If we didn't notice it in time, it could have led us to wrong business decisions!

ps.: I couldn't hate more teams, even if I were paid for it, ever since we're forced to use this **** instead of Skype. It's just one more drop in the sea of **** that is microsoft teams.

Microsoft Teams | Microsoft Teams for business | Files | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Daniel-Vo 5,165 Reputation points Microsoft External Staff Moderator
    2026-03-10T09:25:50.91+00:00

    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.


  2. Q&A Assist
    2026-03-10T08:23:03.8433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Teams itself does not change which physical file is opened when selecting a specific file name; it simply opens whatever file is actually behind that entry (in OneDrive or SharePoint) using the configured preference.

    The behavior described is most likely caused by the underlying storage (OneDrive/SharePoint) having the older file effectively replaced or overwritten by the newer one while keeping or reusing the old name/reference in Teams. In that case, any attempt to open the “old” file entry will open the content of the newer file, even if the displayed name is still the old one.

    To avoid this kind of confusion when working with files in Teams:

    1. Use the Files/OneDrive view in Teams to verify which file is which:
      • Go to OneDrive on the left side of Teams.
      • Check under My Files for both book.xlsx and book_2.xlsx and confirm their modified dates and sizes.
    2. If needed, rename files directly in OneDrive so that each file has a unique, accurate name:
      • In Teams, select OneDrive.
      • Find the file under My Files, or select More actions > Open in OneDrive.
      • Hover over the file and select More actions > Rename.
      • Enter a new, clearly distinct name and select Update.
    3. When opening files from Teams, confirm which file is being opened:
      • From the Shared tab in the chat/channel or from the message where the file was attached, right‑click the file and use Open inDesktop app or Open in browser to verify the correct file.
    4. If there is any suspicion of file corruption or mismatched formats (for example, if a file was renamed incorrectly), open the file in Excel and then save it with the correct extension and name so that the file name and content format match.

    If the wrong content continues to open even though OneDrive shows distinct files with correct names and timestamps, the next step is to download each file from OneDrive to the local machine and open them directly in Excel to verify which content is stored in each file. If the downloaded “old” file already contains the new data, then the old file was overwritten at the storage level and is no longer available in its original form.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.