A Microsoft file hosting and synchronization service.
Generally, downloading the 400 MB size of the content shouldn't cause any problem and if the problem happens even after launching your Mac in the Safe Mode, I suggest you narrow down the behavior by creating a new user account on the problematic Mac.
The Mac isn't what's "problematic". Problematic is how poorly Microsoft codes its software, and that it doesn't have any testing before publishing. I've had the same problem twice in the less than a week I've had my Mac Studio, both times Onedrive caused a Kernel Panic, specifically the file 'user/501/com.apple.xpc.launchd.unmanaged.OneDrive File P.912'
How about you fix your flaky software instead of asking users to install another version or boot in safe mode, which does nothing to fix your buggy software?