MS Teams won't share files - clearing Teams cache
If anyone encounters an issue with MS Teams where it will not allow you to share any files, there's most likely a corrupt cache. The common error is "Something went wrong". Here is how to fix it.
%localappdata%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache
Delete all folders in there.