Integrating with Microsoft Onedrive
Integration of Business Central with OneDrive for Business: cloud storage, file sharing and Microsoft 365 collaboration. It answers questions about admin setup of OneDrive features and how developers extend document sharing with the Document Sharing module.
Path: Integration > Integrating Business Central with Office apps and Microsoft 365 > Integrating with Microsoft Onedrive · tier official · system integration · narrative reviewed (checked by Opus)
Overview
This section covers how Business Central works with OneDrive for Business. Users can store and share files in the cloud and work with them in Microsoft 365 apps such as Word, Excel and PowerPoint. Administrators can set up OneDrive so that Excel workbooks and report files are saved to OneDrive automatically.
The section has two pages. The first, “Business Central and OneDrive for Business Integration”, is the starting point for administrators and users. It describes the user actions and the OneDrive Setup assisted setup guide. The second, “Extending Document Sharing and OneDrive for Business”, is for developers. It explains how to use the Document Sharing module from the system application and the Document Service Management codeunit to enable sharing through OneDrive or a custom document service.
Key points
- User actions include Open in OneDrive, Share, Open in Excel, Edit in Excel and Save report to file.
- Administrators configure the integration with the OneDrive Setup assisted setup guide.
- Excel workbooks and report files can be saved automatically to OneDrive.
- Integration supports collaboration with Word, Excel and PowerPoint.
- Developers use the Document Sharing module in the system application and the Document Service Management codeunit.
- Sharing can go through OneDrive or a custom document service.
- The developer page covers document sharing flows, the SharePoint service, blob and media types, and event subscribers.
- The developer page references 2022 release wave 1 and 2022 release wave 2.
Learn pages
- Business Central and OneDrive for Business Integration: Learn how OneDrive integration in Business Central helps you open, manage, and share reports, Excel workbooks, and files attached to business records.
- Extending Document Sharing and OneDrive for Business: Learn how the document sharing capability is used with OneDrive for Business, and how you can extend it.
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #14192 Changed misleading logic of onedrive file creation to not always fallback to file already exists (code change): “OneDrive file creation logic was corrected to avoid always falling back”
- Dynamics 365 Business Central Blog Series: Integrate Business Central with OneDrive (community post): “Integrate Business Central with OneDrive, including file import and export via AL and Graph API”
- Dynamics 365 Business Central: How to disable/hide OneDrive action group for all users (community post): “OneDrive actions (Open in OneDrive, Share, Edit in OneDrive) are available”
- Dynamics 365 Business Central: How to use Open in Excel in the browser/web (Excel Online) (community post): “When OneDrive for system features is enabled, the Excel workbook opens directly in Excel for the web.”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.