Changing between multiple Teams accounts within the app or browser
Looked at the script. All the ren commands point to %LocalAppData% which on my computer points to C:\Users<username>\AppData\local. And it end into the folder local. But the 2 first ren command, has the Local folder after the %LocalAppData%. That means that these 2 ren command are looking for a folder under C:\Users<username>\AppData\local\Local.... which doesn't exist(At least on my pc). So it looks like the 2 first ren commands are pointing to a location that probably doesn't exist. I think those 2 should point to "%LocalAppData%\Microsoft\OneAuth\accounts" and "%LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe". Just an observation, haven't tested it.