After upgrading MACOS, also update the OneDrive Client
https://apps.apple.com/us/app/onedrive/id823766827?mt=12Download the latest version. Delete the old version if it still co-exists.
Reset the OneDrive
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).
...