Additional features, settings, or issues not covered by specific Microsoft Teams categories
I've come across this issue, and I've discovered it's because my profile is on a UNC path, and if I've run as Administrator (as instructions invariably do...), I lose permissions to access the UNC path.
The best solution for me is to either avoid using Administrator privileges or just use a local profile if needing to escalate.