# Fixing missing Teams messages in desktop app

# Problem

I had an issue recently where Teams messages older than a few days were missing from most of my direct chats within the desktop app. It didn't affect every chat, and I found that the web app still showed all the messages.

# Solution

I can't promise this solution will work for everyone with a similar problem, but what fixed it for me was this:

1. Close Teams fully (i.e. right–clicking on the icon in the system tray and clicking Quit Teams).
2. Find the Teams cache (for me this was `C:\Users\TimHilton\AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams`).
3. Rename it to `MSTeams-OLD` as a backup.
4. Open Teams desktop app again. This took a few minutes and created a new `MSTeams` folder with a new cache.
5. Verify that the desktop app is now working (which it was for me at this point).
6. Permanently delete `MSTeams-OLD` as it's no longer needed.
