mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-19 22:25:03 +02:00
1c10effb9b
* Implement support for National cloud deployments as per https://docs.microsoft.com/en-us/graph/deployments
24 lines
867 B
Markdown
24 lines
867 B
Markdown
# 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
|
|
```text
|
|
onedrive --get-O365-drive-id '<your library name>'
|
|
```
|
|
3. This will return the following:
|
|
```text
|
|
Initializing the Synchronization Engine ...
|
|
Office 365 Library Name Query: <your library name>
|
|
SiteName: <your library name>
|
|
drive_id: b!6H_y8B...xU5
|
|
URL: <your site URL>
|
|
```
|
|
|
|
## Configuring the onedrive client
|
|
Once you have obtained the 'drive_id' above, add to your 'onedrive' configuration file (`~/.config/onedrive/config`) the following:
|
|
```text
|
|
drive_id = "insert the drive id from above here"
|
|
```
|
|
|
|
The OneDrive client will now sync this SharePoint shared library to your local system.
|