Solve almost every Microsoft Teams issue – Clearing Cache


Yes, its a tricky Title. Teams are now normal, like Corona in this 2020 is normal.

Following that, this admins bump into a lot of “Strange issues” in Microsoft Teams.

Example 1. Teams show “Unknown user” for a lot of users in teams chat.

Example 2.:

Microsoft Teams Policy is not applied to user.

Example 3.

Assigned Microsoft Teams Application is not visible in end users Teams client.

Answer to all this and similar questions is pretty simple and should always be one of the first few troubleshooting steps when dealing with Microsoft Teams issues – CLEAR CACHE.

Here is simple script which you should run as Admin. In the script there is -WhatIf parameter which will only “simulate” what will be deleted.

Once you are sure that you want to run the script just remove -WhatIf parameter.

Get-ChildItem "C:\Users*\AppData\Roaming\Microsoft\Teams*" -directory | Where name -in ('application cache','blob storage','databases','GPUcache','IndexedDB','Local Storage','tmp','cache') | ForEach{Remove-Item $_.FullName -Recurse -WhatIf -Force}

That`s it as we speak of clearing MS Teams cache.

I hope this solved your issue! Enjoy the day!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: