When syncing a OneDrive business account, the root folder name consists of "OneDrive" followed by the company name as registered in M365, e.g. "OneDrive - My Company Ltd.". For certain companies with longer names, this could result in lengthy folder names. There is a way to change (rename) this folder, though.
Completely quit the OneDrive application.
Using either Finder or Terminal, navigate to the folder: ~/Library/Containers/com.microsoft.OneDrive-mac/Data/Library/Application Support/OneDrive/settings/Business1/
There are a few INI-files in there. One will be a randomized SID-like number, followed by .ini, e.g. a183b583-a64a-28fd-818a-b4918a569c95.ini. Open this fil ...