Title: miniOrange Embed Files for SharePoint/OneDrive
Author: miniOrange
Published: <strong>2022 年 7 月 6 日</strong>
Last modified: 2026 年 4 月 15 日

---

搜尋外掛

![](https://ps.w.org/embed-sharepoint-onedrive-documents/assets/banner-772x250.png?
rev=3451960)

![](https://ps.w.org/embed-sharepoint-onedrive-documents/assets/icon-128x128.png?
rev=2752691)

# miniOrange Embed Files for SharePoint/OneDrive

 由 [miniOrange](https://profiles.wordpress.org/cyberlord92/) 開發

[下載](https://downloads.wordpress.org/plugin/embed-sharepoint-onedrive-documents.2.5.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/#developers)

 [技術支援](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/)

## 外掛說明

This plugin enables seamless integration between WordPress and Microsoft SharePoint/
OneDrive. Easily embed documents, folders, and entire libraries directly into WordPress
pages or posts. Additionally, sync files from SharePoint or OneDrive to the WordPress
media library for reuse across your site.

The plugin supports both SharePoint Online and SharePoint On-Premise environments,
OneDrive for Business, and OneDrive Personal accounts. With secure OAuth 2.0 authentication,
dynamic access control, and compatibility with major WordPress forms, membership,
and eCommerce plugins, this solution is perfect for business, education, and enterprise
environments.

**Your privacy matters. This plugin is fully self-contained and does not use or 
rely on any miniOrange servers or services. No data is routed through miniOrange.**

🔗 **Live Demo & More Info**: [Microsoft SharePoint OneDrive Integration](https://plugins.miniorange.com/microsoft-sharepoint-wordpress-integration)

📺 **Watch How It Works**:

### Highlights

 * Embed SharePoint/OneDrive folders & files directly into WordPress
 * Advanced access controls & role-based permissions
 * Form submission sync to SharePoint lists
 * Works with both Online and On-Premise SharePoint
 * Gutenberg block and shortcode support

### External Services

This plugin connects to Microsoft SharePoint and OneDrive APIs via Microsoft Graph
to enable document synchronization, preview, and embedding directly within WordPress.

The plugin uses Microsoft Graph API for the following purposes:
 – Authenticating
with SharePoint and OneDrive accounts (via OAuth 2.0). – Fetching documents and 
folders from SharePoint/OneDrive libraries. – Generating secure preview links and
download URLs. – Managing access tokens locally to maintain integration.

### What Data Is Sent and When

 * During authentication (one-time setup by the site admin):
    - The plugin sends the Client ID, Client Secret (if applicable), and Redirect
      URI to Microsoft Servers. These are values configured by the site owner in
      the Azure portal.
    - The authorization code is exchanged for an access token, which is stored locally.
 * When users browse or embed SharePoint/OneDrive content:
    - The plugin sends requests to Microsoft Graph for metadata (e.g., document/
      folder names, paths, IDs) to generate preview/download links.

**No user credentials, personal information, or business data is collected, transmitted,
or stored by miniOrange at any point.**
 **All communication occurs directly between
your WordPress site and Microsoft Graph API servers.**

### Service Provider

All external communication is limited strictly to Microsoft Graph API, provided 
by Microsoft Corporation.

 * [Microsoft Graph API Terms of Use](https://learn.microsoft.com/en-us/legal/microsoft-apis/terms-of-use)
 * [Microsoft Privacy Policy](https://privacy.microsoft.com/en-us/privacystatement)

Use of this plugin implies consent to connect to Microsoft Graph for integration
purposes in accordance with Microsoft’s terms and privacy policy.

### Features

**Embed SharePoint/OneDrive Documents**
 – Display PDFs, Word docs, Excel sheets,
videos, and images from SharePoint/OneDrive. – Sync documents into the WordPress
media library for use with ACF or page builders. – Use shortcodes to embed any document
anywhere on your site.

**Powerful Shortcode Generator**
 – Generate secure shortcodes for public or restricted
views. – Set individual permissions for different WordPress users and roles. – Allow
preview, download and upload access for the embedded folders and documents. – Select
from Grid, List or Table View for the embedded files. – Embed images, videos in 
gallery view.

**Access Control & Permissions**
 – Restrict access based on user roles, email domain,
WooCommerce plans, or membership level. – Secure embedded files using dynamic URL
to prevent direct file URL access from WordPress.

**Automated Sync & Form Integration**
 – Sync Gravity Forms, Contact Form 7, or 
Fluent Forms submissions to SharePoint lists or folders. – Automatically convert
form data into PDF and store in SharePoint. – Create WordPress posts/pages based
on SharePoint data updates.

**User Profile & Metadata Sync**
 – Sync SharePoint user attributes like “About 
Me,” “Skills,” etc. – Create new WordPress users from SharePoint list entries. –
Keep profiles updated in both platforms.

**Advanced File Management**
 – Upload, edit, delete, and preview SharePoint/onedrive
files from WordPress without storing them locally. – Use the WordPress dashboard
to manage SharePoint/OneDrive directories.

**Enhanced Search & Views**
 – Search SharePoint files using metadata or full-text.–
Display libraries in list, grid, or table view. – Provide document preview in popup
or new tab.

**Notification & Alert System**
 – Notify users of file uploads, updates, or new
assignments. – Send automatic alerts to SharePoint users or WooCommerce customers.

**Supported Applications**
 – SharePoint Online & OnPremise – OneDrive Enterprise&
Personal

**Shortcode Embedding**
 – Embed SharePoint Site as Shortcode – SharePoint Drive
as Shortcode – File/Folders as Shortcode – Individual Document (PDF / DOC / PPT /
Excel / PPT / Video ) in Preview or Edit Mode

**File/Folder Action**
 – Preview in SharePoint / OneDrive – Popup Display – Download/
Upload / Search

**Look & Feel**
 – List / Grid / Lightbox / View – Sorting based on Standard SharePoint
Columns – Filters for file types, custom column values and date-time.

**WP Posts Synchronization**
 – Sync SharePoint/onedrive files to WordPress media
library as an attachment. – Sync to WordPress Custom Post Types ( WP CPT Sync ).–
Maintain SharePoint/OneDrive folder structure using WordPress Taxonomies and Terms.–
Assign WordPress tags to the files and folders.

**SharePoint Artifacts**
 – Sync Custom Columns, News, Articles, Events & Lists.

**3rd Party Integrations**
 – ACF ( Advanced Custom Fields ) – Gravity Forms – Formiddable
Form – Contact Form 7 – WooCommerce

### Support & More

 * 📧 Email: [office365support@xecurify.com](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/office365support@xecurify.com?output_format=md)
 * 📞 Book a call: [Contact Form](https://miniorange.com/contact)
 * 🌐 Explore more plugins: [miniOrange WordPress Plugins](https://plugins.miniorange.com/)

## 螢幕擷圖

 * [[
 * Automatic App Connection Settings
 * [[
 * Manual App Configuration
 * [[
 * SharePoint File & Folder Preview
 * [[
 * Shortcode Generator View
 * [[
 * Embedded Library Display on WordPress Page

## 安裝方式

#### From WordPress.org

 1. Download the plugin from the WordPress repository.
 2. Upload the `embed-sharepoint-onedrive-documents` folder to your `/wp-content/plugins/`
    directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### From the WordPress Dashboard

 1. Go to `Plugins > Add New`.
 2. Search for `Embed SharePoint OneDrive Documents`.
 3. Install and activate the plugin.

#### For Any Assistance

 * Email us at [office365support@xecurify.com](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/office365support@xecurify.com?output_format=md)
 * Visit [Contact Us](https://miniorange.com/contact)

## 常見問題集

### How do I configure the plugin?

Refer to the [plugin setup guide](https://plugins.miniorange.com/microsoft-sharepoint-integration-for-wordpress)
for basic configuration or email our support team for personalized help at [office365support@xecurify.com](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/office365support@xecurify.com?output_format=md).

### Getting “Token type is not allowed” error?

Please follow the resolution guide here:
 [Token Type Error Resolution](https://faq.miniorange.com/knowledgebase/token-type-is-not-allowed-error-on-sharepoint-rest-api/)

### Can I control who accesses embedded documents?

Yes, access can be restricted by user roles, email domains, logged-in status, WooCommerce
purchases, or membership plugins.

### Does it support SharePoint On-Premise?

Yes, the plugin works with both SharePoint Online and On-Premise versions.

## 使用者評論

![](https://secure.gravatar.com/avatar/3711e2c5747b32e4c2da74290516b7595e63eef913048c45d25cf4a94b3dc911?
s=60&d=retro&r=g)

### 󠀁[Very attentive support by Prashant. Problem solved with a superior solution.](https://wordpress.org/support/topic/very-attentive-support-by-prashant-problem-solved-with-a-superior-solution/)󠁿

 [photoartk](https://profiles.wordpress.org/photoartk/) 2025 年 12 月 19 日

Very attentive support by Prashant. Problem solved with a superior solution.

![](https://secure.gravatar.com/avatar/15d845c4cf7a43c7953c42e94d710f0d985da0184be9a2c0df4c8ad10e7ae232?
s=60&d=retro&r=g)

### 󠀁[Great Support](https://wordpress.org/support/topic/great-support-6446/)󠁿

 [aaronreeve](https://profiles.wordpress.org/aaronreeve/) 2025 年 12 月 2 日

Great plugin and email support. thanks.

![](https://secure.gravatar.com/avatar/23232584ce42ced501e321eca77880539a557a4906139050573bb4addd905399?
s=60&d=retro&r=g)

### 󠀁[Great product and better support](https://wordpress.org/support/topic/great-product-and-better-support-2/)󠁿

 [mamitchell](https://profiles.wordpress.org/mamitchell/) 2025 年 11 月 18 日 1 
則留言

Amazing support, when a product is done right it feels that way, this is one of 
them.

![](https://secure.gravatar.com/avatar/0d723b89cfbfc21839e8b171dec559d4cd0c1514376b9b980dca8384ce874bbb?
s=60&d=retro&r=g)

### 󠀁[Fácil de integrar con Sharepoint](https://wordpress.org/support/topic/facil-de-integrar-con-sharepoint/)󠁿

 [Jordi Esteller](https://profiles.wordpress.org/jordiesteller/) 2025 年 10 月 30
日

Excelente plugin para integrar y embeber contenido de sharepoint. Estaría bien integrar
más opciones en el panel como exportar e importar fácilmente shortcodes.

![](https://secure.gravatar.com/avatar/041d2df89541f0d18cd0b7da470614d3939a36ea54b220a7e04fd40d51d25259?
s=60&d=retro&r=g)

### 󠀁[Great service and support](https://wordpress.org/support/topic/great-service-and-support-32/)󠁿

 [ronewadev](https://profiles.wordpress.org/ronewadev/) 2025 年 6 月 13 日

excellent support and service.

![](https://secure.gravatar.com/avatar/db569164a5cd850005bf8a3ba52754dede904f7cfe2941d7910b4c2ac34559af?
s=60&d=retro&r=g)

### 󠀁[Works well and great support](https://wordpress.org/support/topic/works-well-and-great-support-22/)󠁿

 [tylergfx](https://profiles.wordpress.org/tylergfx/) 2025 年 4 月 3 日

This worked great for a year and then I had a bug. Their support team responded 
within hours with the solution. The bug was on my server, not the plugin.

 [ 閱讀全部 40 則使用者評論 ](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈miniOrange Embed Files for SharePoint/OneDrive〉的開發相關
工作。

參與者

 *   [ miniOrange ](https://profiles.wordpress.org/cyberlord92/)
 *   [ miniorange ](https://profiles.wordpress.org/miniorange/)

〈miniOrange Embed Files for SharePoint/OneDrive〉外掛目前已有 1 個本地化語言版本。
感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/embed-sharepoint-onedrive-documents/contributors)
為這個外掛做出的貢獻。

[將〈miniOrange Embed Files for SharePoint/OneDrive〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/embed-sharepoint-onedrive-documents)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/embed-sharepoint-onedrive-documents/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/embed-sharepoint-onedrive-documents/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/embed-sharepoint-onedrive-documents/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/embed-sharepoint-onedrive-documents/)。

## 變更記錄

#### 2.5.3

 * Sharepoint Site and Drive selection process for shortcode has been improved.
 * Feedback form issues were resolved.
 * Incorrect folder path handling for .aspx files in onedrive & sharepoints
 * Removed unused assets
 * Fixed issue incase of reconnection where preview URL becomes inconsistent
 * Handled reverse migration for higher plan customers to free
 * Error Codes base framework was introduced.
 * Resolved race condition between redirect to preview button and refreshing page
   on test connection window

#### 2.5.2

 * Resolved issues with support and Feedback Forms.
 * Minor UI improvements.

#### 2.5.1

 * Introduced copilot search with SharePoint.
 * Major UI changes.

#### 2.5.0

 * Tested and confirmed compatibility with WordPress 6.9.
 * Minor UI improvements.

#### 2.4.9

 * Implemented PKCE for OAuth 2.0 used in Automatic Connection.
 * Security/vulnerability fixes.

#### 2.4.8

 * Fixed issue with deactivation feedback.
 * Fixed test connection issue for mannual connect.

#### 2.4.7

 * Fixed fatal error while activating the plugin

#### 2.4.6

 * Changes for WordPress Standards

#### 2.4.5

 * Security Fixes

#### 2.4.4

 * Fixed issue with Navigation if default languages on SharePoint is not English.
 * Compatibility with WordPress version 6.8

#### 2.4.3

 * Compatibility with php version 8.3

#### 2.4.2

 * Compatibility with WordPress version 6.7
 * Fixed UI issues with WordPress theme twenty-twenty-five.
 * Fixed Issue with the capability checks.
 * Removed extra columns from the table menu.
 * Added support for the infinite scrolling for the documents.

#### 2.4.1

 * Compatibility with WordPress version 6.7
 * Fixed UI issues with WordPress theme twenty-twenty-five.
 * Fixed Issue with the capability checks.

#### 2.3.2

 * Compatibility with WordPress version 6.7
 * Fixed UI issues with WordPress theme twenty-twenty-five.

#### 2.3.1

 * Fixed issue with the folders containing space in name
 * BugFIX for OneDrive Business libraries

#### 2.3.0

 * Compatibility with WordPress 6.6
 * PHPCS Standards
 * Fortified sanitization and escaping checks
 * Fixed Security Warnings

#### 2.2.9

 * Important bugfix in automatic connection.
 * Updated plugin description.

#### 2.2.8

 * Fixed issue with the manual test connection.
 * Menu image included.

#### 2.2.7

 * Fixed the preview for searched documents and resolved issues with breadcrumbs.
 * Added a search feature for OneDrive Personal, and displayed required permissions
   for connect and its justifications.
 * Implemented folder-specific search functionality.

#### 2.2.6

 * Fixed a warning related to general exceptions encountered when connecting with
   new SharePoint users.
 * Display default drive size and resolved an issue where email IDs were not being
   displayed in the connection.

#### 2.2.5

 * Resolved automatic connection issue and loading problems with default sites and
   drives.
 * Improved UI elements such as tooltips, connection dropdown, and preview documents/
   files tab.
 * Fixed refresh issue in the preview documents/files tab, particularly when connected
   with Personal OneDrive.

#### 2.2.4

 * Fixed the issue with redirection after activation.
 * Major UI Fixes.
 * Fixed issue related to error code MO_SPS_ERROR_001.
 * Updated the setup guide.
 * Added a feature to display shortcodes for logged-in users with any role.

#### 2.2.3

 * Made plugin compatible with the WordPress version 6.5.
 * Fixed the issue with settings in installed plugins section.

#### 2.2.2

 * Fixed the issue with migration while connected previously with manual connection.
 * Fixed the issue with preview documents button in test connection window.

#### 2.2.1

 * Fixed the issue with the migration feature and resolved all warnings.
 * Fixed minor bugs for the connection tab reload.
 * Fixed the issue with Breadcrumbs while connecting with Onedrive business.

#### 2.2.0

 * Added support for Automatic Connection via SharePoint, OneDrive Personal and 
   OneDrive Business.
 * New Banner design with book a meeting and forum link changes.

#### 2.1.3

 * Made changes in the setup guide.
 * Added resource links for SharePoint / OneDrive integration knowledgebase.

#### 2.1.2

 * Made plugin compatible with the WordPress version 6.4
 * Changes in UI and Search functionality.
 * Load default Site and Drive automatically.

#### 2.1.1

 * Fixed the document embed view UI.
 * Added feature to preview and download files.
 * Enhanced the connection and search functionality.

#### 2.1.0

 * Fixed an issue where folder name, breadcrumbs were not visible because of the
   theme

#### 2.0.9

 * Added Search option for selecting the sites and drives
 * Fixed an issue where plugin used to throw critical error while activating the
   Elementor Pro License
 * Migrated localization scripts to inline js

#### 2.0.8

 * UI Fixes.

#### 2.0.7

 * Fixed scrolling UI problem in the plugin settings page.

#### 2.0.6

 * Fixed blank screen issue in the settings page for languages like italian, russian,
   etc.

#### 2.0.5

 * bug fix for js issue
 * notice for onedrive personal & business accounts.

#### 2.0.4

 * Direct File Preview Module added.

#### 2.0.3

 * Bug fix for error while loading js file in the plugin.

#### 2.0.2

 * Bug fix for Update shortcode settings.

#### 2.0.1

 * API framework migration from CSOM to Graph API.
 * Major UI changes.

#### 1.1.3

 * Fixed an string compare issue with php7.2

#### 1.1.2

 * Added feature to open files in SharePoint

#### 1.1.1

 * Changed the configuration flow
 * added notes and descriptions for input fields
 * Client Secret validation and some UI fixes

#### 1.1.0

 * Simplified Sharepoint Configuration
 * Bug Fixes

#### 1.0.9

 * Search files & folders through document library.
 * Bug fixes for embed document library using Gutenberg block feature.
 * Bug fixes in SharePoint User profile mapping feature.

#### 1.0.8

 * minor bug fix in support form

#### 1.0.7

 * Add SharePoint library on WordPress pages/post using Gutenberg block.
 * Added support for custom document library folders other than Shared Documents.
 * Bug fixes for file names having special characters like {#,$,*,&,`,’}

#### 1.0.6

 * shortcode support to embed SharePoint Online Library into pages/posts
 * Added a support for viewing documents from specific SharePoint site other than
   main site.
 * UI improvements

#### 1.0.5

 * Updated setup guide

#### 1.0.4

 * Document sync tab improvements
 * Bug Fixes

#### 1.0.3

 * Added Support For Embedding Documents, Files

#### 1.0.2

 * Manual user profile sync from SharePoint to WordPress.
 * User Profile Mapping (SharePoint -> WordPress)

#### 1.0.1

 * Test SharePoint Online Connection
 * Fetch SharePoint Online User Attributes

## 中繼資料

 *  版本 **2.5.3**
 *  最後更新 **5 天前**
 *  啟用安裝數 **800+**
 *  WordPress 版本需求 ** 5.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/embed-sharepoint-onedrive-documents/)
   及 [English (US)](https://wordpress.org/plugins/embed-sharepoint-onedrive-documents/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/embed-sharepoint-onedrive-documents)
 * 標籤
 * [embed document](https://tw.wordpress.org/plugins/tags/embed-document/)[media library](https://tw.wordpress.org/plugins/tags/media-library/)
   [microsoft](https://tw.wordpress.org/plugins/tags/microsoft/)[OneDrive](https://tw.wordpress.org/plugins/tags/onedrive/)
   [sharepoint](https://tw.wordpress.org/plugins/tags/sharepoint/)
 *  [進階檢視](https://tw.wordpress.org/plugins/embed-sharepoint-onedrive-documents/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  39 個 5 星使用者評論     ](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/reviews/)

## 參與者

 *   [ miniOrange ](https://profiles.wordpress.org/cyberlord92/)
 *   [ miniorange ](https://profiles.wordpress.org/miniorange/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/embed-sharepoint-onedrive-documents/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://miniorange.com)