Office 365 / OneDrive for Business / SharePoint Online

Issues syncing SharePoint Online libraries with OneDrive for Mac

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.

As you do on a Windows device, start a browser (in this case Safari), browse to the SharePoint Team site/ document library and you click Sync. A new pop-up windows is shown and you choose Sync now.

After a few seconds you are asked to allow the page to open OneDrive, but when you click Allow…. Nothing happens!

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
Killall cfprefsd

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.

7 Comments

  1. Thank you, Peter. You really save my day. I failed to sync in OneDrive after upgrading to macOS 10.12.4. Microsoft hasn’t taken action to fix this issue for about 3(?) weeks. This tip works well for macOS 10.12.5 and OneDrive 17.3.6798.

  2. You`re welcome Jianwen!
    The engineer I have been talking to did not have a release date of a fix, so I`m afraid it could take a while

  3. Also note that the error you get under the section “Sync issue caused by Web Site Address” above could also be from the setting which requires version control. By removing this setting the issue may be resolved.

    I am still unable to sync a second library (w/o version control) following the steps above, unfortunately.

  4. I’ve had the same issue with trying to setup OneDrive on Mac. It worked flawlessly for ages and now I have to login and set it up again but i get the nondescript error message. 🙁

    Ive been online with MS support for weeks over it and they haven’t been able to help so far. They didnt even come up with what you found.

  5. I’ve had the same issue with trying to setup OneDrive on Mac. It worked flawlessly for ages and now I have to login and set it up again but i get the nondescript error message. 🙁

    Ive been online with MS support for weeks over it and they haven’t been able to help so far. They didnt even come up with what you found.

Leave a Reply

Your email address will not be published. Required fields are marked *