Trying to have a chat recently, and Microsoft Teams would not open on MAC OS. Sometimes it would open without issue. But today, no play.
The email comes through with no issue. Opens in Safari with no issue. But the link to open in Microsoft Teams, goes nowhere.
Below are the progressive steps that I took to resolve this issue (note that this could take multiple solutions - let's see):
Solution 1: delete cache
How to delete the cache of Microsoft Teams on macOS?
The first action, go to the Caches directory
cd ~/Library/Caches
When you list (ls -l) your directory, down the page you will find something similar to
... //
drwxr-xr-x 5 andrewsfletcher dev 160 17 Apr 2021 com.microsoft.VSCode
drwxr-xr-x 5 andrewsfletcher dev 160 18 Jun 10:22 com.microsoft.VSCode.ShipIt
drwxr-xr-x 8 andrewsfletcher dev 256 15 Jun 2021 com.microsoft.teams
drwx------@ 10 andrewsfletcher dev 320 8 Nov 2021 com.operasoftware.Opera
// ...
Remove com.microsoft.teams
rm -rf com.microsoft.teams
Next, go to the Microsoft Teams application directory
cd ~/Library/Application\ Support/Microsoft/Teams
Remove the following files
rm desktop-config.json
rm storage.json
rm Network\ Persistent\ State
Finally, clear out the following directories in this directory
rm -rf *Cache*
rm -rf blob_storage
rm -rf databases
rm -rf IndexedDB
rm -rf Local\ Storage
rm -rf tmp
What are all the steps in one block
cd ~/Library/Caches
rm -rf com.microsoft.teams
cd ~/Library/Application\ Support/Microsoft/Teams
rm desktop-config.json
rm storage.json
rm Network\ Persistent\ State
rm -rf *Cache*
rm -rf blob_storage
rm -rf databases
rm -rf IndexedDB
rm -rf Local\ Storage
rm -rf tmp
Now try re-opening your link.