Drupal is a registered trademark of Dries Buytaert

o365

Security covered
View on drupal.org

Introduction

The Microsoft 365 Connector module gives you a connector service that makes it possible for developers to easily connect to the Microsoft Graph API.

This module consists of various submodules which provide several blocks to interact with Microsoft 365 from your drupal site. You can read about the module and the submodules on the documentation pages dedicated to them:

Documentation on Drupal.org API documentation

Features

Features of this module include:

  • Microsoft Teams integration: using a combination of this module and the Group module you can connect groups with Teams. For now this adds a feature that lists files from a Team in the Group in Drupal. We also have added a feature for people to send messages from Drupal to others on Teams without leaving Drupal.
    There is also an option to start a chat or a call with team members.
    In the future there will be better integration with Teams (for instance your activity stream), and better and more integration between Microsoft 365 and Groups.
  • Outlook Calendar integration: using this module you are able to create events from Drupal (as a node) and automatically add this event to your own Outlook Calendar and even have the option to invite other attendees as well.
  • Lots more, just check it out, or read the documentation pages

Requirements

This module requires the following modules (downloaded via composer.json):

Installation

See this documentation page.

Configuration

Configuration is (or will be) described on the documentation pages of this module. Have a look at this documentation page.

Updating from 5.x.x to 6.0.x

This release adds a new feature that makes it possible to use multiple connectors. This has been added in #3295745: Make it possible to use multiple Office 365 connectors (6.x). Some changes will be updated in a update hook, but others will need some manual work.

To use this you need to change the structure of the config in the settings file. The old structure was:

$settings['o365']['api_settings']['client_id'] = '<client_id>';
$settings['o365']['api_settings']['client_secret'] = '<client_secret>';
$settings['o365']['api_settings']['tenant_id'] = '<tenant_id>';

The new structure will be this:

$settings['o365'] = [
  '<connector-1-id>' => [
    'client_id' =>'<client_id>',
    'client_secret' => '<client_secret>',
    'tenant_id' => '<tenant_id>',
  ],
  '<connector-2-id>' => [
    'client_id' =>'<client_id>',
    'client_secret' => '<client_secret>',
    'tenant_id' => '<tenant_id>',
  ],
];

The connector id can be found on https://www.example.com/admin/config/system/o365/settings/o365-connectors when you edit the available connectors. You need to use the machine name. For existing instances this will most likely be "default" because this is created during the update hook.

Also keep in mind the change in the return URL. This needs to be configured in the Azure app and will have the connector id added to the url.

Support

For any questions, please add an issue to the issue queue.

Activity

Total releases
11
First release
Dec 2024
Latest release
3 weeks ago
Release cadence
43 days
Stability
27% stable

Release Timeline

Releases

Version Type Release date
6.0.0-beta6 Pre-release Feb 6, 2026
6.0.0-beta5 Pre-release Jan 15, 2026
6.0.0-beta4 Pre-release Jan 15, 2026
6.0.0-beta3 Pre-release Dec 16, 2025
6.0.0-beta2 Pre-release Aug 19, 2025
6.0.0-beta1 Pre-release Aug 8, 2025
6.0.x-dev Dev Aug 8, 2025
5.1.0-beta1 Pre-release Jun 27, 2025
5.0.22 Stable Feb 13, 2025
5.0.21 Stable Dec 6, 2024
5.0.20 Stable Dec 6, 2024