OneDrive/Google Drive integrations
This page explains how to connect Dastra to OneDrive or Google Drive to use your cloud storage as the main document management system for the workspace.
Last updated
Was this helpful?
This page explains how to connect Dastra to OneDrive or Google Drive to use your cloud storage as the main document management system for the workspace.
By default, Dastra's document management system relies on Azure Blob Storage: files are encrypted, scanned for viruses, and redundantly stored on a secondary server. For more details, see the security documentation.
In some organizations, this storage duplicates an existing cloud file system (SharePoint/OneDrive, Google Drive). Dastra integrates natively with both providers to avoid this duplication.

This integration uses OAuth authentication with a user account's credentials. It is not an application-level connection via the Microsoft Graph API or the Google API.
In practice, this means:
The connection is established on behalf of the user who configures the integration
Access to files depends on that account's permissions
If the account is deactivated or its tokens revoked, the integration stops working until it is reconnected
It is recommended to use a dedicated service account (non-personal) to configure this integration
Go to Workspace Settings > Integrations, then click on OneDrive or Google Drive.
Click Add integration. You will be redirected to the provider's login page, where you will be asked to authorize access to your storage.
After authentication, Dastra asks you to choose which drive to use as the root:
Root site / Dastra
Organization's SharePoint site
β Recommended for enterprise use β shared space, not tied to a personal account
Your personal drive
Personal OneDrive of the connected account
β οΈ Avoid in production β grants access to all personal drive files
If you use a personal drive, it is strongly recommended to use a dedicated service account that does not contain personal files. You can also create a dedicated SharePoint site to isolate Dastra files.
Dastra automatically creates an Applications\DastraOneDrive directory on the chosen drive, which it uses as the root for all files.
From any entity (processing activity, task, actorβ¦), you can attach files stored in your cloud:
Open the file panel of the entity
Select the data source at the top left of the panel

Browse your drive via the file manager
Click Select from manager to attach the file

You can also upload new files directly from Dastra to your Drive.
The connection uses user OAuth β not the Microsoft Graph API. If the account that set up the integration is deactivated, the connection is interrupted.
Dastra only has access to the Applications\DastraOneDrive directory on the chosen drive.
For enterprise environments, prefer the SharePoint site ("Root site / Dastra") over a personal drive.
Only files created from within Dastra can be added or modified in Google Drive. Dastra does not have access rights to files created directly in Drive β this is a limitation of the OAuth connector.
Files created in Dastra can be shared with other collaborators without restriction.
Last updated
Was this helpful?
Was this helpful?