A Microsoft file hosting and synchronization service.
I had this exact problem. I fixed it with these steps:
- This procedure requires Time Machine backups - DO NOT proceed if you don't have backups!
- In finder, navigate to: <computer>/Macintosh HD/Applications/OneDrive
- Enter Time Machine
- Navigate back into very early April or Late March 2023 to find Version 23.054.0313 of OneDrive
- Use the Restore function to replace the newer (broken) version of OneDrive with the older working version
- Reboot
- You may need to relaunch OneDrive manually
I've tried installing this older version from Microsoft's web site, but somehow the Microsoft install always does an auto-update to the latest version which causes it to fail again.
If you don't have Time Machine backups, then I don't have a fix for you but I strongly recommend you start creating them for future problems.