Search Results :

×

Connect Microsoft SharePoint with Drupal

This document will walk you through the steps to synchronize content between Microsoft SharePoint and the Drupal website. Using the Drupal SharePoint Integration module, you can sync User details documents, files, and PDFs from Microsoft SharePoint to Drupal.

Using Composer

  • Download the module:

    composer require 'drupal/sharepoint_integration:^1.0'

  • Go to the Extend menu on your Drupal admin console and enable the module by checking the checkbox, and click on the install button.
  • Configure the module at

    {BaseURL}/admin/config/people/sharepoint_integration/connection

  • Log into the Azure portal with your Microsoft Entra ID credentials.
  • From the Azure services section, click on App registrations.
Drupal SharePoint - Select App Registration

  • Then click on the New Registration.
Drupal SharePoint - Click New Registration

  • Enter the App name and click on the Register button.
Drupal SharePoint - Enter App Name Click Register

  • You will get an Application ID, Object ID, and Directory (Tenant) ID. Copy the Application ID and the Tenant ID, you will need to provide these in the module configuration.
Drupal SharePoint - Copy Client ID and Tenant ID

  • Now, click on the Add a certificate or secret link.
Drupal SharePoint - Click Add Secret

  • Click on the New client secret button. In the Add a client secret popup, enter the required information:
    • Description: Enter the description for this Secret.
    • Expires: Select the expiration period for this Secret.
    • Click on the Add button.
Drupal SharePoint - Click Add button

  • Copy the Value from the Client Secrets tab. This is Client Secret. Keep it handy.
Drupal SharePoint - Copy Client Value

  • From the Left panel, go to the API permissions and click on the Add a permission button.
  • Select an API → Microsoft APIsMicrosoft Graph.
Drupal SharePoint - Click API Permission Select Microsoft Graph

  • Select Application permissions and search for the Sites in the search box.
  • Select Sites.Read.All and Sites.ReadWrite.All permissions.
  • Click on the Add permissions button.
Drupal SharePoint - Click Application Permissions Search Site select sites read all sites read write all

  • Click on the Grant admin consent for <tenant_name> button, then click Yes from the Grant admin consent confirmation window.
Drupal SharePoint - Click Grant Admin Consent For Test
  • You can check the granted status as shown in the image below.
Drupal SharePoint - Granted Consent
  • Go to ConfigurationPeopleSharePoint Integration in the Administration menu.
Drupal SharePoint - Click SharePoint Integration
  • After that, you will be redirected to the Connection tab.
  • In the Connection tab, paste the Client ID, Client Secret, and Tenant ID that you copied earlier from Microsoft Entra ID application.
  • Click on the Save configs button.
Drupal SharePoint - Paste Client ID Secret Tenant ID
  • After successfully saving the configuration, click on the Test Connection button.
Drupal SharePoint - Click Test Connection
  • Now, go to the Preview Folders / Files tab.
  • Select Sharepoint Site and Directory from the dropdown.
  • You can Preview and Download the documents as shown in the image below.
Drupal SharePoint - Click Preview Folder/files

Explore the additional features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button of the module or reach out to us at drupalsupport@xecurify.com for one-on-one assistance from Drupal expert.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support