I have a need to be able to remove onedrive cached credentials from local machines from the windows credential manager using a script The reason - When a user is prompted to change their O365 password for some reason the local cached version of the password linked to OneDrive doesn't update and users start to get Sync errors.
The user could go and manually remove this entry but for some this is asking alot ;)
Any pointers would be great. Prefer Powershell but VB is ok too.
Regards