2018-11-23 20:26:30 +01:00
|
|
|
# Show how to access a Sharepoint group drive in Office 365 business or education
|
|
|
|
## Obtaining the Sharepoint Site Details
|
2019-01-06 00:06:04 +01:00
|
|
|
1. Login to OneDrive and under 'Shared Libraries' obtain the shared library name
|
2019-01-06 00:09:27 +01:00
|
|
|
2. Run the following command using the 'onedrive' client
|
2019-02-19 21:29:37 +01:00
|
|
|
```text
|
2018-12-04 00:59:23 +01:00
|
|
|
onedrive --get-O365-drive-id '<your library name>'
|
2018-11-23 20:26:30 +01:00
|
|
|
```
|
2019-01-06 00:10:47 +01:00
|
|
|
3. This will return the following:
|
2019-02-19 21:29:37 +01:00
|
|
|
```text
|
2018-11-23 20:26:30 +01:00
|
|
|
Initializing the Synchronization Engine ...
|
2019-01-19 03:01:41 +01:00
|
|
|
Office 365 Library Name Query: <your library name>
|
|
|
|
SiteName: <your library name>
|
|
|
|
drive_id: b!6H_y8B...xU5
|
|
|
|
URL: <your site URL>
|
2018-11-23 20:26:30 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Configuring the onedrive client
|
2020-06-16 23:57:14 +02:00
|
|
|
Once you have obtained the 'drive_id' above, add to your 'onedrive' configuration file (`~/.config/onedrive/config`) the following:
|
2019-02-19 21:29:37 +01:00
|
|
|
```text
|
2018-11-23 20:26:30 +01:00
|
|
|
drive_id = "insert the drive id from above here"
|
|
|
|
```
|
|
|
|
|
2018-12-04 00:59:23 +01:00
|
|
|
The OneDrive client will now sync this SharePoint shared library to your local system.
|