Search Results :


Microsoft SharePoint Documents Integration with WordPress

WordPress SharePoint Integration | SharePoint banner

Key Features

Support for Sharepoint online / OnPremise

Easily connect your WordPress site with SharePoint Online or OnPremise applications using SharePoint REST APIs and Microsoft Graph APIs

Embed Sharepoint / OneDrive documents to WordPress

Embed SharePoint library into the WordPress pages/posts using shortcode or access The SharePoint documents from media library of WordPress

Sync SharePoint user profile to WordPress

Sync SharePoint / Office365 Delve user profile attributes like about me, account name, skills,etc. Into the WordPress

Sync news and articles into WordPress posts

Automatic synchronization SharePoint social feeds like news and articles into the WordPress posts

Common Use-Cases

SharePoint Restrict/Filter Files
Restrict/Filter Files According to WordPress Roles or User Memberships

A university has a SharePoint document library that contains course materials for different classes. The university has a WordPress site and wants to display the course materials on the site, but only to students who are enrolled in the corresponding class.

  • You can create different user roles and membership groups in WordPress using third-party plugins like Paid Membership Pro, WP Members, MemberPress etc. to represent the different classes and levels of access that should be granted to the course materials. For example, the university may create a membership group for each class, such as "Class 1," "Class 2," etc.
  • Use Embed SharePoint/OneDrive Documents plugin to restrict access to the course materials (Folders/Files) based on the user's membership group. For example, the plugin could be configured to only display the specific documents for "Class 1" to users who are members of the "Class 1" group.

Sync SharePoint Documents to WordPress Media Library

  • An employee creates a new folder in the SharePoint instance and uploads several documents related to a project.
  • The SharePoint plugin is set up to sync the data from SharePoint to the WordPress media library in real-time. As soon as the folder and documents are created and uploaded in SharePoint, they are automatically synced to the WordPress media library.
  • WordPress Administrator can access the documents in the WordPress media library and preview or download them as needed.
  • If the folder or any of the documents are renamed or modified in SharePoint, the changes are automatically synced to the WordPress media library.
  • This allows for easy access to all work-related documents in a central location, without the need for employees to log in to multiple systems.

Sync SharePoint Documents to WordPress Media Library

Setup Guidelines

Guide to configure SharePoint Online Plugin with WordPress

  • Log in to Azure AD Portal, as an Administrator.
  • Under the Azure Services section, select Azure Active Directory.
  • WordPress SharePoint Integration | Select Azure Directory
  • In the left tab, under the Manage section, select App registrations tab.
  • WordPress SharePoint Integration | App registration
  • Now click on the New Registration option.
  • WordPress SharePoint Integration | New Registration
  • Assign the Display Name in the name field and choose the account type.
  • In the Redirect URI field, provide the URL of your WordPress site and click on Register button.
  • WordPress SharePoint Integration | click on register button
  • After the registration of an application, Azure AD assigns an unique application ID to your application.
  • Navigate to the Overview tab, in the left pane.
  • Copy the Application ID and the Directory ID, this will be your Client ID and Tenant ID.
  • WordPress SharePoint Integration | Copy app ID
  • From the left navigation pane, navigate to the Certificates & secrets tab.
  • Click on New client secret to enter the description and expiration time, then click on the ADD option.
  • WordPress SharePoint Integration | New client secret
  • Copy the value of Secret Key. This will be your Client Secret Key.
miniorange img Granting permissions to the newly created principal:
  • Log in to SharePoint online admin centre https://<tenant-name> (e.g.
  • Go to https://<tenant-name>
  • Once the page is loaded, add your client ID and look up with the created principal.
  • To grant permissions, you'll need to provide the permission XML that describes the needed permissions. Since this application needs to be able to access all sites + also uses search with app-only, it needs below permissions.
  •     <AppPermissionRequests AllowAppOnlyPolicy="true"> 
    <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl"/>
    <AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="FullControl" />
    WordPress SharePoint Integration | Grant permission
  • When you click on Create, you'll be presented with a permission consent dialogue, then click on TrustIt to grant the permissions.
  • WordPress SharePoint Integration | click create
  • Note: If you are not able to access https://<tenant-name>
    • Then open Windows PowerShell as an administrator. And run below commands.
    • 1. Install-Module -Name Microsoft.Online.SharePoint.PowerShell
      2. $adminUPN="<the full email address of a SharePoint administrator account, example:>"
      3. $orgName="<name of your Office 365 organization, example: contosotoycompany>"
      4. $userCredential = Get-Credential -UserName $adminUPN -Message "pwd"
      5. Connect-SPOService -Url https://$ -Credential $userCredential
      6. set-spotenant -DisableCustomAppAuthentication $false
    • Note: Fill in the values for the $adminUPN and $orgName variables (replacing all the text between the quotes, including the < and > characters), and then run the following commands in the Windows PowerShell. When prompted with the Windows PowerShell credential request dialog box, type the password for the SharePoint admin account.
miniorange img Configuring the SharePoint Online Premium Plugin.
  • Navigate to the SharePoint Online Premium plugin.
  • Under the Manage Application tab, paste the information from the Azure AD App.
  • Application ID Copy and paste the Application ID from Azure AD App
    Client Secret Copy and paste the Client Secret from the Azure AD App
    Tenant ID Copy and paste the Directory ID from Azure AD App
    Name ID
    Select E-Mail Address as a Name Id from dropdown list
    SharePoint URL https://<tenant-name>
    WordPress SharePoint Integration | manage application
  • Sharepoint Online URL Refers to your main site.
  • If you want to sync documents of any different site other then main site, then enter it's url here in Sharepoint site URL (ex. Field.
  • Click on Save button.
  • Click on the Test Configuration button.
  • WordPress SharePoint Integration | test Configuration
  • You have successfully configured SharePoint plugin with your WordPress (WP) Site.
miniorange img Documents / Files
  • Navigate to Documents / Files Tab to sync all your sharepoint files and folders
  • WordPress SharePoint Integration | Navigate to documents tab
miniorange img Shortcode to embed document
  • Navigate to shortcode tab.
  • The following shortcode will help you to embed documents to your pages and posts
  • Embed SharePoint documents with WordPress | Embed documents
  • Copy and paste this shortcode into pages or posts.
  • Embed SharePoint documents with WordPress | copy shortcode
  • Click On publish and view post to get all documents on your page/post.
  • Embed SharePoint documents with WordPress | copy shortcode
miniorange img Sync Sharepoint User Profile
  • Navigate to SharePoint User Profile to sync your user to wordpress from sharepoint online
  • The following shortcode will help you to embed documents to your pages and posts
  • Embed SharePoint documents with WordPress | Embed shortcode
  • To sync your particular user you need to enter UPN.
  • Click on Save button.
  • Click on Fetch Attribute button to view user and then click on Sync User button
miniorange img Sync Sharepoint User on a single click (Premium Feature)
  • The user table will be presented in the following manner before sync.
  • SharePoint for WordPress | Share documents to WordPress | Sync user table
  • The user table will be presented in the following manner after sync.
  • SharePoint for WordPress | Share documents to WordPress | Sync user table
  • Scroll down to user profile mapping section if you want to map the profile attribute.
  • SharePoint for WordPress | Share documents to WordPress | Profile attribute mapping
  • You can navigate to demo request tab if you want demo of our plugin, with or without any integration
  • SharePoint for WordPress | Share documents to WordPress | Profile attribute mapping
  • Let us know at if you have any concerns or other questions. We will be happy to help you.

What we offer

  Complete overview of the Premium Features
  Technical assistance from our representative
  24*7 support via mail, chat or meeting

Schedule a Demo?

 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

Why Our Customers choose miniOrange Embed SharePoint/OneDrive Document Solutions?

24/7 Support

miniOrange provides 24/7 support for all the Secure Identity Solutions. We ensure high quality support to meet your satisfaction.

Customer Reviews

See for yourself what our customers say about us.


Extensive Setup Guides

Easy and precise step-by-step instructions and videos to help you configure within minutes.

We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more.

Please contact us at -  +1 978 658 9387 (US) | +91 97178 45846 (India)

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to