We mostly support companies using Windows desktops and laptops, but sometimes we have customers using Mac clients. A couple of times I have seen issues with the OneDrive for Mac client when trying to sync a SharePoint Online library to local device.
If you already have downloaded the latest OneDrive for Mac client and you are already signed in to OneDrive, try below commands to enable Team site sync.
First exit the OneDrive sync client by clicking on the OneDrive icon in the menu bar and selecting Quit OneDrive. After that, open Terminal from Lanchpad and run the following commands:
Defaults write com.microsoft.OneDrive TeamSiteSyncPreview -bool True
Defaults write com.microsoft.OneDriveUpdate Tier Team
Now just to be sure, restart your Mac. After restarting you should be able to sync the SharePoint library.
Sync issue caused by Web Site Address
Another issue I have seen when I tried to sync a SharePoint library by using OneDrive for Mac was the error Sorry, we can`t add your “Documents” folder at the moment. Please try again.
I tried a few times to sync the library, restarted the device, quit OneDrive etc, but without luck. When I setup OneDrive on a Windows device and try to sync the same library, it does work without any issues.
The issue on Mac was caused by using a space in the Web Site Address (url). For example the customer setup a site with url https://inthecloud247.sharepoint.com/sites/Sales Site When setting up a site without a space in the url (https://inthecloud247.sharepoint.com/sites/SalesSite) we were able to sync the library.
I have already had contact about this issue with Microsoft support, they confirmed it is a known issue and “It`s probable that this behavior gets fixed on upcoming versions of the OneDrive for Mac OS”.
If you want to now if you are running the latest OneDrive (for Mac) client or are interested in the release-notes visit New OneDrive sync client release notes website.