Connect OneDrive and SharePoint to WordPress

The WordPress OneDrive plugin connects to OneDrive, OneDrive for Business, and SharePoint. Publish documents, images, videos, and downloads without moving files to your web server.

Built on Microsoft Graph. Files stay in your Microsoft account.

WP Cloud Plugins OneDrive & SharePoint WordPress plugin (Share-one-Drive) showing modules on page.

25,000+ customers since 2012 • 4.82/5 average on CodeCanyon • 14+ years of development

Money Back Guarantee
14 Days
Satisfaction Guaranteed
100 %
Developing Cloud Plugins
14 + Years

OneDrive files in WordPress, without moving them

Browse files, accept uploads, display galleries, and stream media. All from your OneDrive.

Your team already stores documents in OneDrive and SharePoint. Share-one-Drive lets you publish those files on WordPress without rebuilding your folder structure or copying anything to the web server.

Common setups: a SharePoint-backed intranet on WordPress, a department portal that serves Office documents from OneDrive for Business, and a public document library where editors update files in Microsoft 365 and visitors see the changes immediately on the site.

Permissions stay where they belong, in Microsoft 365. Editing happens in Word, Excel, and PowerPoint as it always did. WordPress is just the surface.

What teams do with Share-one-Drive

From document libraries to WooCommerce downloads, Share-one-Drive helps teams build file-driven experiences without copying files into WordPress.

Browse files

Show a file browser on any page or post. Visitors navigate folders, preview files, and download what they need.

Preview documents

Display Word, Excel, PowerPoint, and PDF files directly in the browser. Ideal for policies, documentation, manuals, product sheets, and knowledge bases.

Accept uploads

Let staff, members, or visitors upload files directly to your OneDrive from a WordPress page. Files arrive directly in your cloud.

Stream audio and video

Embed audio and video players that stream directly from the OneDrive servers. Supports MP3, MP4, WebM, and other common formats

Sell digital downloads with WooCommerce

Store digital products in OneDrive or SharePoint and deliver them through WooCommerce or Easy Digital Downloads

Client portals

Personal Folders automatically show each logged-in user their own files. Perfect for client portals, employee portals, and customer dashboards.

How Share-one-Drive connects OneDrive to WordPress

Four steps. No file copying. No syncing.

The plugin connects to your Microsoft account through a standard OAuth sign-in. Click connect, sign in with the account that owns the files, and approve the requested permissions. Personal Microsoft accounts and Microsoft 365 / Azure AD work accounts both work.

1.

Connect your cloud

Connect your OneDrive or SharePoint via a one-click authorization flow. Adding a cloud storage account in WP Cloud Plugins's WordPress admin panel
1.

2.

Pick a module

Choose from 8 display types: file browser, gallery, upload box, player, and more.

Creating a new module in WP Cloud Plugins's module manager

2.

3.

Configure visually

Set the source, permissions, appearance, and behavior.  No code needed.

Configuring module access settings in WP Cloud Plugins's visual module configurator

3.

4.

Publish

Insert the module on any page or post using a shortcode or page builder block. Your visitors interact with OneDrive files directly.

WP Cloud Plugins file browser module in list view showing files and folders

4.
All credentials are encrypted stored on your WordPress site. API communication is directly between your server and the Microsoft API.

Personal Folders

Personal Folders let each logged-in WordPress user or role see only their own files inside the same module.

In OneDrive, Personal Folders resolves to a sub-folder in the configured account. In SharePoint, the same pattern can map to per-user folders inside a document library.

You set up the folders on your cloud storage. You decide who gets access to what. The mapping is managed entirely from the WordPress admin, and it works across all module types.

WP Cloud Plugins Personal Folders showing per-user cloud folder access

8 ways to display your cloud files

Each module is visually configured — no code required. Place it anywhere with a shortcode, Gutenberg block, or page builder widget.

Modules that work with OneDrive

Pick the modules that fit your page. The same OneDrive and SharePoint connection powers all of them.

File Browser

Full browsable view of a OneDrive folder or SharePoint library.

Gallery

Image grid powered by a OneDrive folder.

Audio Player

Stream MP3 and other audio from OneDrive servers. Playlists, single tracks.

Video Player

Stream MP4 video using temporary signed URLs.

Upload Box

Drag-and-drop uploads straight to your SharePoint Content Library or OneDrive.

Carousel

Add a Carousel of images from OneDrive to your WordPress page.

List and Buttons

Create structured download lists and add direct download buttons.

Embed

Directly embedded Office and PDF previews on your page.

Security and access control

Files are not copied to your WordPress server. Every visitor request resolves to a short-lived signed URL issued by Microsoft.

The URL expires after a short time window, so a shared link cannot be reused beyond its lifetime.

Role-based permissions allow you to define who can view, upload, or manage content inside each module.

Scope-based access

Secure oAuth connection. Apply the principle of least privilege. Use Read-only or Read+Write access.

Role-based permissions

Control who can browse, upload, download, delete, or manage files based on WordPress user roles and module-specific permissions.

Personal folders

Link individual WordPress users to specific OneDrive folders. See the personal folders feature for details.

Scope enforcement

Visitors can never browse outside the configured root folder. Every request is checked against the module scope.

Activity log and email notifications

Implements notifications and statistics to track who downloaded what, when.

Encrypted credentials

Your authorization token is stored encrypted. It is never exposed in the frontend or page source.

Common use cases for OneDrive and WordPress

Where teams use the SharePoint WordPress plugin

Company Intranets

Editors update SharePoint document libraries the way they always have. WordPress shows the latest versions on the intranet homepage, in department portals. No sync jobs and no duplicate copies.

Video streaming libraries

Store training videos, product demonstrations, webinars, or course content in OneDrive and stream them directly through WordPress without consuming local hosting resources.

Audio and podcast hosting

Publish podcasts, music libraries, audiobooks, and premium audio content stored in OneDrive while using WordPress as the listening interface.

Knowledge Bases

Publish policies, handbooks, procedures, and onboarding documents from OneDrive for Business. Visitors can preview Office files online or download them when needed, while permissions remain managed in Microsoft 365.

Digital Downloads

Sell digital products directly from OneDrive or SharePoint and keep large files out of WordPress. Customers can also upload files during or after checkout, with uploads automatically stored in order folders. Ideal for print shops or design services

Client portals

Each customer logs in and sees a private folder in OneDrive. Personal Folders maps the same module to a different sub-folder per user. They upload deliverables; you receive a notification.

Connect OneDrive to WordPress today

Turn OneDrive into a live content source for your WordPress site. Display, stream, and manage files without importing them into your media library.

4.73 / 5

113 reviews

5★ 102
4★ 3
3★ 2
2★ 0
1★ 6

for Customizability by Go_Functional

Great plugin from great people! I used the plugin for a client's portal, and it works great. The variety of settings, hooks, and filters can take customization to the next level, enabling the creation of almost anything for a portal. Their support team is great, and they respond within 24 hours, always willing to help and find you a solution!

Share-one-Drive

for Customer Support by gfa4

Stable and well supported by the author.

Share-one-Drive

for Other by aspostbus

Share-one-Drive

for Customer Support by ruske

This is fantastic, solved our thumbnail problem in less than 24 hours. The editorial office of the newspaper is non-profit, so they helped with the further production a lot. Thank you very much, we wrote a review with a rating of 5

Share-one-Drive

for Code Quality by cauesocial

Share-one-Drive

for Customer Support by monk0061

Very good !!!!

Share-one-Drive

for Customer Support by venomtt1000

Share-one-Drive

for Other by johnsobhy11

Plugin is Great and specially the Support behind it ... They are responsive professional and very helpful.
what i could achieve with it is unbelievable!

Share-one-Drive

for Customer Support by rob1998

Customer support is amazing! Had a compatibility issue this week with another important plugin and Floris solved it the same day!!
Haven't had any other issues with the plugin while using it since march 2022!

Share-one-Drive

What makes Share-one-Drive different

Six reasons teams pick this plugin for their Microsoft 365 integration.

25,000+ WordPress sites

In production with paying customers since 2012.

Proven track record

An average rating of 4.82/5 on CodeCanyon.

Direct browser-to-cloud transfers

Up- and downloads bypass the WordPress server.

All content modules included

File browser, gallery, upload box, audio, video, carousel, list, embed.

SharePoint document library support

Access to your SharePoint Sites and not just OneDrive.

All Microsoft access paths in a single license

Personal OneDrive, OneDrive for Business, and SharePoint, same plugin.

Common Questions Answered

Have any doubts about our WP Cloud Plugins? Here are some frequently asked questions that should answer most of yours.

Yes. Personal Microsoft accounts (outlook.com, hotmail.com, live.com) and Microsoft 365 work accounts both connect through OAuth. The two account types use different sign-in screens, but the plugin handles both. SharePoint document libraries are supported through the Microsoft 365 sign-in path.
Yes. You can list multiple SharePoint sites and add multiple Microsoft accounts. Each module can point to a different location. A single license covers connecting as many accounts and libraries as you need on the same WordPress site.
No. Files stay in OneDrive or SharePoint. The plugin reads file metadata through the Microsoft API and serves downloads through temporary signed URLs. Your WordPress server never stores the files.
Yes. Uploads use chunked transfer, sending the file in pieces directly from the browser to OneDrive or SharePoint. There is no practical size limit imposed by the plugin itself.
Yes. Share-one-Drive ships with shortcodes that work in any builder, a Gutenberg block, and integrations with major page builders. See the WordPress integrations page for the current list.

Yes. You can sell digital products stored in OneDrive or SharePoint and deliver them through secure, temporary download links. Share-one-Drive also supports customer uploads for WooCommerce workflows, allowing files to be stored directly in folders associated with an order.

This makes the plugin suitable for digital downloads, print services, artwork submissions, document collection, and other file-driven e-commerce workflows.

Yes. The plugin can be activated per site within a network or network-activated.
On first connect with an Azure AD work account, your tenant administrator may need to grant consent. After that, individual users in the tenant can sign in without re-prompting.
No. You can browse, preview, and download from a SharePoint document library. File descriptions are available on personal OneDrive accounts; SharePoint and OneDrive for Business use their own metadata model which is currently not displayable in the plugin.

Yes. Share-one-Drive is the OneDrive and SharePoint plugin. For Google Drive, use Use-your-Drive. If you need both providers on the same site, you need both plugins, each with its own license.

If your question is not listed, please contact us!

Happy Days! 20% OFF • CODE: HAPPYDAYS20