...
Quit OneDrive. (Select the cloud icon in the top tray, then select Settings > Quit OneDrive.)
Find OneDrive in your Applications folder.
Right-click OneDrive and select Show Package Contents.
Browse to the Contents > Resources folder.
Double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command, if you're using the standalone app).
...