Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

How to Connect Microsoft SharePoint with Drupal

Last updated on
18 July 2024

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.

Configure Microsoft Entra ID (Azure AD):

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

Drupal SharePoint microsoft entra id click on app registration

  • Then click on the New Registration.

Drupal SharePoint microsoft entra id new registration

  • Enter the App name and click on the Register button.

Drupal SharePoint Entra ID enter app name

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

Drupal SharePoint Entra id copy client ID and tenant id

Integration between Drupal and Microsoft Entra ID:

  • Copy the Application (client) ID from the Microsoft Entra ID portal.

Drupal SharePoint Integration copy client ID

  • After Successfully installing the module, you will be redirected to the Connection tab.
  • Paste the copied Application ID in the Application ID text field.

Drupal sharepoint integration paste client-id

  • Copy the Directory (tenant) ID from the Microsoft Entra ID portal.

Drupal SharePoint Integration copy tenant id

  • Paste the copied Directory (tenant) ID in the Tenant ID text field.

Drupal SharePoint integration paste tenant id

  • Again, go back to the Microsoft Entra ID portal.
    • From the left side panel, navigate to the Certificates & Secrets.
    • Then click on the New Client Secret.
    • Enter Description as the Secret key and click on the Add button.

Drupal SharePoint Entra ID add secret key

  • Copy the Value and keep it handy.

Drupal SharePoint Entra Id copy secret key value

  • Navigate back to the Drupal site and paste the copied Client secret value into the Client Secret text field.
  • Once done, click on the Save configs button.

Drupal SharePoint Integration paste client secret

API Permission to your Microsoft Entra ID Application:

  • From the Left panel, go to the API permissions and click on the Add a permission.
  • Select an API -> Microsoft APIs -> Microsoft-Graph.

Drupal SharePoint Microsoft Entra ID API permissions

  • 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 Microsoft Entra ID sites permission

  • Click on the Grant admin consent for <tenant_name> button, then click Yes from the Grant admin consent confirmation window.

Drupal SharePoint Microsoft entra ID grand admin consent

  • You can check the granted status as shown in the image below.

Drupal Sharepoint Integration added permissions

Test Connection between Drupal Sharepoint Integration & Microsoft Entra ID:

  • After successfully granting permission, go back to the Drupal -> Connection tab and click on the Test Connection button.

Drupal SharePoint Integration test connection

  • You have successfully connected to the SharePoint site.

Drupal SharePoiint integration connect to sharepoint

How to Download / Preview SharePoint Documents:

  • Now, go to the Preview Folders / Files tab.
    • Select Sharepoint Site from the dropdown.
    • Then, select a Directory from the dropdown.
    • You can Preview and Download the documents as shown in the image below.

Drupal SharePoint Integration documents

Contact our 24*7 support team

Feel free to reach out to our Drupal experts if you need any sort of assistance in setting up the Drupal SharePoint Integration Module.

 Get In Touch With Us    Join Our Slack Channel

back to top Back to top

Help improve this page

Page status: No known problems

You can: