Submodules¶
The o365 module is only the connector. Everything a visitor sees comes from one
of the submodules below. Enable the ones you need and leave the rest alone; each
one you switch on tends to add scopes that have to be granted in Azure, so it is
worth being deliberate.
After enabling anything here, check /admin/reports/o365-auth-scopes and make
sure the app registration has the scopes listed there.
| Module | Machine name | What it adds |
|---|---|---|
| Microsoft 365 - SSO | o365_sso |
Logging in with a Microsoft 365 account. Serves /o365/login and /o365/callback, links the Microsoft account to a Drupal user, and can hide or replace the normal login form. Almost every other submodule is more useful with this one on. |
| Microsoft 365 - SSO User | o365_sso_user |
Copies Microsoft 365 user data onto the Drupal user on every login, so fields on the user profile stay in sync with the directory. |
| Microsoft 365 - Profiles and Personas | o365_profile |
A persona block with the profile picture, name and Teams presence, a block with Teams links, and call, chat and video links as extra fields on the user display. Needs the Presence.* scopes, which usually need admin consent. |
| Microsoft 365 - Profiles and Personas REST endpoints | o365_profile_rest |
The same profile and persona data as a REST resource, for a decoupled front end. |
| Microsoft 365 - REST | o365_rest |
A REST resource that hands the access token to a decoupled front end so it can call Graph itself. |
| Microsoft 365 - Outlook Calendar | o365_outlook_calendar |
A block with the upcoming appointments of the current user, an add to calendar block, and a checkbox on the entity forms you configure that writes the entity into the author's Outlook calendar with a list of attendees. |
| Microsoft 365 - Outlook Mail | o365_outlook_mail |
Blocks with the latest mail and the latest unread mail of the current user. |
| Microsoft 365 - OneDrive | o365_onedrive |
Blocks for recently used files and files shared with the user, plus pages to browse their OneDrive. |
| Microsoft 365 - SharePoint file search | o365_sharepoint_file |
A block and a page to search SharePoint files from within the site. |
| Microsoft 365 - SharePoint Search Field | o365_sharepoint_field |
A field type with a widget that lets an editor search SharePoint and store a link to a file, so a document can be referenced from content. |
| Microsoft 365 - CKEditor | o365_ckeditor |
A CKEditor 5 button that inserts a link to a SharePoint file into the body text. Builds on o365_sharepoint_field. |
| Microsoft 365 - Contacts | o365_contacts |
A block to search the contacts of the current user. |
| Microsoft 365 - Teams integration | o365_teams |
Sending a Teams message to a colleague from a page on the site, with an autocomplete on the recipient. |
| Microsoft 365 - Groups | o365_groups |
Connects a Drupal group to a Microsoft 365 group and lists that group's files. Requires the Group module, which Composer does not install for you. |
| Microsoft 365 - Links to Office apps | o365_links |
A block with links to the Office web applications, so users reach Word or Outlook without leaving the intranet. You pick which applications are shown. |