Microsoft 365 Integration

General plugins (Local) ::: local_o365
Maintained by Enovation Dev Team, James McQuillan, Zion Brewer, Nima Mojgani
This plugin provides libraries and services that power other Microsoft 365 plugins.
Latest release:
6077 sites
125 fans
Current versions available: 8

Microsoft 365 Plugins for Moodle

Microsoft 365 Integration Local Plugin

This plugin provides libraries and services and power other Microsoft 365 plugins.

This is part of the suite of Microsoft 365 plugins for Moodle.

To follow active development on GitHub, click here.

This plugin is updated with stable Moodle releases. This means:

  • New features, bug fixes for general core bugs, and security issues for all plugin versions for Moodle 3.9.x and earlier versions have ended, with the following exception:
    • Bug fixes for security issues for Moodle 3.9.x versions will end 8 May 2023.
  • For plugin versions for Moodle 3.10:
    • New features and full support until November 2021.
    • Bug fixes for security issues until May 2022.
  • For plugin versions for Moodle 3.11 (to be released in July 2021):
    • New features and full support until May 2022.
    • Bug fixes for security issues until November 2022.


Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.

Why a CLA? (from the FSF)


(c) Microsoft, Inc.

Code for this plugin is licensed under the GPLv3 license.

Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.


This plugin is part of set Microsoft 365.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


Enovation Dev Team (Lead maintainer)
Vinayak (Vin) Bhalerao
Akinsaya Delamarre
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Thu, May 27, 2021, 10:22 PM
    Hi Mario, the issue is tracked in Please temporary solution in it, or wait for it to be fixed in the next release.

  • Wed, Jun 30, 2021, 9:01 PM
    Version 3.10.2 (2020110902) not working with Azure AD sync: Error in API call: Access token validation failure. Invalid audience.
  • Wed, Jun 30, 2021, 9:26 PM
    Hi Jarmo, can you please raise the issue on including the version of the local_o365 being used?
  • Fri, Aug 6, 2021, 6:02 PM
    Any update on v3.11 compatibility? The announcement says it was to be released in July.
  • Fri, Aug 6, 2021, 6:39 PM
    Hi @Shubhendra, Moodle 3.11 version of the plugin is still work in progress. It took longer than we originally expected. It should be ready by the end of September the latest.
  • Tue, Aug 17, 2021, 12:51 AM
    Hi, just wanted to check if this plugin along with the Teams Theme plugin will work with Microsoft Teams Live Events? Teams Live Events are an extension of Teams Meetings.
  • Mon, Feb 7, 2022, 9:14 PM
    After the successful integration of Microsoft 365 Integration, when we run " Sync users with Azure AD" fro scheduled task its fail and gives msg as follows
    " Execute scheduled task: Sync users with Azure AD (local_o365\task\usersync)
    ... started 17:00:05. Current memory use 12.9MB.
    ...... Starting sync "
    The same proble we face when we run -> Create user groups in Microsoft 365
    the reslu is as follows
    " Execute scheduled task: Create user groups in Microsoft 365 (local_o365\task\groupcreate)
    ... started 13:03:15. Current memory use 12.9MB."

    please guide to solve this issue

  • Tue, Feb 8, 2022, 2:41 AM
    Is there anyway to change the Moodle username being used. I do not want it set to email address as I have 3rd party software that uses the moodle username which is just the first part of their email address.
  • Tue, Feb 8, 2022, 5:29 PM
    Hi Majid, Shammer and Lori, please raise your questions and issues via github issues page mentioning your Moodle version and plugins version so we can investigate and get back to you. Regards
  • Mon, Mar 28, 2022, 11:23 PM
    Hi, Thanks for all your work on these Plugins. Not sure where to ask this question (of if even appropriate on Github), as not strictly an issue more of an unknown. Forgive me as I have just been asked to look into this as previous developer\admin has left suddenly. $plugin->release = '3.9.0';$plugin->version = 2020071500; Moodle version 3.9. Situation where a Teams site that was created via Moodle To teams integration but has been deleted (over 90 days ago) before teachers flagged so cannot restore. However, within the mdl_local_o365_objects]
    where (type = 'group') the course team exists (subtype= course; courseteam) but no 365 group or Teams site. I am unsure of how to recreate i.e. recreate the linked site this if already exists in [dbo].[mdl_local_o365_objects] table? I going to hazard a guess than absolutely not as straightforward as deleting from the is table. Any advice would be greatly appreciated (or pointing me in the right direction would be greatly appreciated)
    Thanks in advance.
  • Thu, May 19, 2022, 10:14 PM
    Hello team, I have mapped all the fields from Active Directory to moodle and it works fine. But users suspended in the ADare not suspended in Moodle. I tried many configs but does not work. Can anyone tell me what are the steps ?
  • Thu, Jul 28, 2022, 6:30 PM
    Hello Everyone,

    when I am click on Site Administration then displaying this below error message:

    Exception - Class 'local_o365\feature\sds\utils' not found

    Please help me kindly. waiting your urgent solutions
  • Thu, Jul 28, 2022, 6:49 PM
    Hi all, please ask question / report issues in github at Please include your Moodle version and plugin version when posting there too.

  • Mon, Aug 22, 2022, 3:37 PM
    Hello team,
    I have a fail in the user sync task:
    Scheduled task failed: Sync users with Azure AD (local_o365\task\usersync),The username must be in lower case

    Any suggestion?
  • Tue, Aug 23, 2022, 1:54 PM
    Do you support SAML2 instead of OpenID?
1 2 3 4 5 6 7 8 9 10 11
Please login to post comments