abraunegg-onedrive/README.Office365.md
abraunegg 29808c905c
Implement --get-O365-drive-id to get correct SharePoint Shared Library (Issue #248) (#260)
* Implement --get-O365-drive-id to return the correct drive_id of a SharePoint Shared Library to use for syncing that repository
2018-12-04 10:59:23 +11:00

788 B

Show how to access a Sharepoint group drive in Office 365 business or education

Obtaining the Sharepoint Site Details

  1. Login to OneDrive and under 'Shared Libraries' obtain the shared library name
  2. Run the following command using the 'onedrive' client
onedrive --get-O365-drive-id '<your library name>'
  1. This will return the following:
Initializing the Synchronization Engine ...
Office 365 Library Name: ab-github-odtest
drive_id: b!6H.....l7vVxU5

Configuring the onedrive client

Once you have obtained the 'drive_id' above, add to your 'onedrive' configuration file (~/.config/onedrive/config)the following:

drive_id = "insert the drive id from above here"

The OneDrive client will now sync this SharePoint shared library to your local system.