This addon extends the functionality of the fs_storage module to allow the system to use Microsoft Drives (OneDrive, Sharepoint) as a storage backend.
All the interactions with Microsoft SharePoint are done through the Microsoft Graph API, which is a RESTful web API that enables you to access Microsoft Cloud service resources. To authenticate with Microsoft Graph, the addon uses the OAuth 2.0 protocol, which is a standard for authorization that allows third-party applications to access user data without exposing their credentials. All the calls are done using the credentials of the odoo user performing the action, which means that the user must have linked their Microsoft SharePoint account to Odoo in order to use this addon. See the microsoft_drive_account module documentation for more information on how to link a Microsoft Drive account to an Odoo user.
When calls are made to the Microsoft Graph API through this addon, the addon will check if the credentials are still valid. If they are not, it will refresh them using the refresh token that was obtained during the initial authentication process. This means that the user does not have to re-authenticate every time their credentials expire, as long as they have granted permission for Odoo to refresh their credentials.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets Odoo store files on Microsoft OneDrive or SharePoint by adding a Microsoft Drive storage option to the Filesystem Storage configuration. Users link their Microsoft account and Odoo keeps the access token up to date automatically.
This module adds Microsoft Drives (OneDrive and SharePoint) as a possible storage backend for the Filesystem Storage feature. When a storage is configured with the Microsoft Drive protocol, Odoo talks to Microsoft through the Microsoft Graph API using the credentials of the logged-in user, so each user must have linked their Microsoft account first.
Where it appears:
- It extends the existing Filesystem Storage configuration screen (fs.storage) with the Microsoft Drive protocol option.
- It relies on the Microsoft Drive account settings already provided by the microsoft_drive_account module.
What it does automatically:
- When a Microsoft Drive storage is used, Odoo builds the connection parameters from the user's linked Microsoft account, including the client ID, client secret and token endpoint stored in system parameters.
- If the user is not using a non-interactive (application) connection, Odoo registers a hook so that whenever Microsoft refreshes the access token, the new access token, refresh token and expiry date are saved back on the user record (res.users). This keeps the connection working without the user having to re-link the account.
- For non-interactive connections, Odoo uses the client credentials flow with the default Microsoft Graph scope instead of the user's personal token.
It touches the fs.storage and res.users models and depends on the microsoft_drive_account and fs_storage modules.
Depends on
Required by other modules
Models and fields (2)
- res.users · extends an existing model
- fs.storage · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/storage.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.