Search Results :

×

Embed Sharepoint documents in WordPress | Sync Sharepoint to WordPress

Embed Sharepoint documents in WordPress | Sync Sharepoint to WordPress


Get Free Demo

Microsoft Sharepoint WordPress integration can be achieved using our Embed Sharepoint OneDrive Documents WordPress. Synchronize your sharepoint/OneDrive/Office365 user details/documents /files to the WordPress site. We can configure the SharePoint OneDrive Integrator plugin to integrate Microsoft365/Office 365 apps such as Power BI, SharePoint, Microsoft Teams, Dynamics CRM, OneDrive, and others with WordPress and share their documents/files in your WordPress site.

Pre-requisites : Download And Installation

To configure SharePoint Integration with WordPress, you will need to install the Embed SharePoint OneDrive Library/Documents/Files plugin:

WordPress Embed SharePoint OneDrive Documents plugin allows you to embed sharepoint documents/files on your wordpress site.

Steps to configure SharePoint Online Plugin with WordPress (WP)

1. Setup Azure AD

WordPress SharePoint Integration Configure Azure AD Configure Azure AD
  • Log in to Azure AD Portal, https://portal.azure.com/ as an Administrator.
  • You will be represented with the home screen of Azure Active Directory.
  • 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.
  • WordPress SharePoint Integration | Secret Key

2. Granting Permission to the newly created principal

miniorange img Granting Permission to the newly created principal
  • Log in to SharePoint online admin centre https://<tenant-name>-admin.sharepoint.com (e.g. https://contoso-admin.sharepoint.com/)
  • Go to https://<tenant-name>-admin.sharepoint.com/_layouts/15/appinv.aspx
  • 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 + user information, it needs below permissions.
  •     <AppPermissionRequests AllowAppOnlyPolicy="true"> 
    <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl"/>
    <AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="FullControl" />
    </AppPermissionRequests>
    WordPress SharePoint Integration | Grant permission
  • When you click on Create, you'll be presented with a permission consent dialogue, then click on Trust It to grant the permissions.
  • WordPress SharePoint Integration | click create
  • Note: If you are not able to access https://<tenant-name>-admin.sharepoint.com/_layouts/15/appinv.aspx
    • 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: jdoe@contosotoycompany.onmicrosoft.com>"
      3. $orgName="<name of your Office 365 organization, example: contosotoycompany>"
      4. $userCredential = Get-Credential -UserName $adminUPN -Message "pwd"
      5. Connect-SPOService -Url https://$orgName-admin.sharepoint.com -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.

3. Configure SharePoint Online Free Plugin

miniorange img Configure SharePoint Online Free Plugin
  • Navigate to the SharePoint Online Free 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
    SharePoint Folder Path Copy and paste the Folder Path which Documents you want to fetch
    SharePoint Online URL https://<tenant-name>.sharepoint.com
    SharePoint site URL (Optional) https://<tenant-name>.sharepoint.com/sites/{Site_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 than main site, then enter it's url here in Sharepoint site URL (ex. https://.sharepoint.com/sites/test_site) 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.

4. Documents / Files

miniorange img Documents / Files
  • Navigate to Documents / Files Tab to sync all your sharepoint files and folders
  • WordPress SharePoint Integration | Sync SharePoint Document and files

5. Shortcode to embed document

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
  • You can embed documents to your pages and posts using Gutenberg Block
  • Embed SharePoint documents with WordPress | Gutenberg block
  • Click On publish and view post to get all documents on your page/post.
  • Embed SharePoint documents with WordPress | Publish post

6. Sync Sharepoint User Profile

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 | Sync Profile
  • 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

7. Sync Sharepoint User on a single click

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
  • We have successfully synced Microsoft Sharepoint to WordPress with the help of Embed SharePoint OneDrive Library/Documents/Files plugin
  • Let us know at samlsupport@xecurify.com if you have any concerns or other questions. We will be happy to help you.

Additional Resources


If you are looking for anything which you cannot find, please drop us an email on samlsupport@xecurify.com

Why Our Customers choose Embed SharePoint OneDrive Library/Documents/Files Solutions?


24/7 Support

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

Sign Up

Customer Reviews

See for yourself what our customers say about us.
 

Reviews

Extensive Setup Guides

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

Watch Demo


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)   samlsupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com