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:
5111 sites
110 fans

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
  • Fri, Sep 18, 2020, 9:10 PM
    Good afternoon, Currently running Moodle 3.7+ and have installed O365 Integration version I am unable to sync any users with AzureAD. I have tried using the powershell script and manual set up follwing the documentation. My Azure portal looks a little different to what the documentaion suggests, but I seem to be abale to aprove all the permissions. However in Moodle setup -> User Sync I don't appear to have an option to manually run the Sync. So I have been changing the Scheduled task time and leaving it to run. However once the time scheduled passes it shows that the Sync has never been atempted. Any help or advice would be appriciated as I now have no hair and lost 2 days trying to make Teams and Moodle play nicely together. Cheers Gareth
  • Wed, Sep 23, 2020, 11:21 PM
    Nice job.
    There are problems with "Teams".
    Moodle's integration with teams works in the web version and in the teams mobile app. But in the desktop version it doesn't work.
    The desktop teams keep trying to load the embedded moodle but it doesn't show anything.
    Is any of the Teams updates happening?
    I am using Moodle version 3.9.
  • Wed, Sep 30, 2020, 10:06 PM
    Hello All,
    Does anyone here succeed in syncing with school data sync feature?
    if yes is there any documentation for that?
  • Thu, Nov 5, 2020, 1:18 PM

    We are implementing the Teams Azure bot with Moodle. But the bot is not responding, it is not working. Is there any documentation or advice that we can obtain?

    Thank you.
  • Tue, Nov 17, 2020, 2:12 PM
    Hello All,
    i tried to test SDS sync but it gives (You do not have any schools available in School data sync) although we have sds profiles running in our tenant.
    could any one tell me what i am missing?
    Thanks in advance
  • Wed, Nov 25, 2020, 7:40 AM
    I'm having the same problem with SDS sync - it shows no schools.

    Also in mapping, I see an AD field for "Preferred Name" but I can't find where this exists in Azure or SDS?
  • Thu, Dec 3, 2020, 7:05 AM
    I'm also trying to make use of the Middle Name field, which is available in SDS, but apparently not in Azure or for mapping in Moodle?
  • Wed, Dec 9, 2020, 6:02 PM
    When will you be releasing a version for Moodle 3.10?
  • Thu, Jan 28, 2021, 11:27 PM
    I'm also trying to make use of the Middle Name field, which is available in SDS, but apparently not in Azure or for mapping in Moodle?
  • Wed, May 5, 2021, 2:30 PM
    I also posted this in issues, not sure what the appropriate channel for these types of questions are so sorry if I come accross as spamming, not my intention!

    We are currently using the plugin for Azure AD synchronisation on a standard Moodle setup.
    Pretty soon we will be moving to a Moodle Workplace environment.
    In order to make use of the extended functionality (e.g. approval workflow etc) I'm looking for a way to integrate things like role, manager etc). Based on the screenshot on this plugin page (specifically the third one from the left) it seems to be able to do that. However, I cannot fidn a way to map the fields as the destination fields as shown in the screenshot are not available to me (looking on the standard moodle setup).

    Is this because the data is not yet in the AD feed? Is it because Moodle standard cannot store that info (and the screenshot is from a Moodle workplace environment?) or ......

    Looking for some tips to solve this and to configure the feed

    Thanks in regards!
  • Mon, May 24, 2021, 1:37 PM
    Dear Moodlers,

    After installing local_o365 (V 3.10.1) plugin on Moodle (V 3.10.3+), when I try to edit the settings of any course, I receive the below error

    "Exception - Argument 1 passed to local_365\feature\usergroups\coursegroups::_construct() must be an instance of local_o365\rest\unified, bool given, called in [dirroot]/local/o365/observers.php on line 621

    Any idea what seems the problem ?
  • Thu, May 27, 2021, 8:18 PM
    Any idea ?
  • 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?
1 2 3 4 5 6 7 8 9 10
Please login to post comments