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:
5314 sites
118 fans
Current versions available: 12

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


  • Wed, Apr 8, 2020, 5:06 PM
    Thank you for all your work!
  • Fri, Apr 17, 2020, 5:21 PM
    Hi there. I'm trying to configure Office365 integration but cannot configure The system API user cause i get an Internal Server Error. Anyone can help please?
    I'm on moodle 3.03 and the relative Office plugin
  • Wed, May 13, 2020, 4:49 PM
    Hey Lai Wei

    Thanks for sorting this out!

    I know it's really early but I was wondering if you perhaps had an ETA on the Moodle 3.9 version as well? If you don't have a specific date right now, that's okay. But perhaps knowing it takes you 1/2/3/4 months after a Moodle version is released to update and test this plugin, will help me have a rough idea as well.

    Thanks again!

    Kind regards,
  • Wed, May 13, 2020, 7:26 PM
    Hi Dillon,

    Moodle 3.9 code initial stable version will be released in June. We expect to release the compatible versions of the plugins to 3.9 later June or early July maximum.

  • Wed, May 13, 2020, 8:36 PM
    Hey Oswaldo

    Thanks so much for the quick response! I appreciate it and all of the work you are doing.

    Kind regards,
  • Sat, May 30, 2020, 1:57 AM
    Hi, since yesterday we´ve problems with usersync. The main problem is that the Plugin config says that Usertoken of System-API could not call. I should run Health Check but this says all is ok. The properties are correct. Have someone an idea what we could try? Or is there a known problem on microsoft servers?

    Our moodle run on Ubuntu 18.04LTS
    Moodle Version 3.5.7+
    local_o365 2018051710

    best regards
  • Mon, Jul 6, 2020, 4:28 PM
    please learn here
  • Wed, Jul 8, 2020, 1:50 AM
    We've recently added this plugin to our Moodle installation and have synced successfully with our O365 environment. We're running into a problem whenever we try to sync new courses with Teams. We've had about 2 courses work successfully and the rest have failed. When I go to Teams Sync->Customize group and turn on syncing for a new course, nothing happens. If I go into the course page and click the Course Group link in the Microsoft block, I see this message: "This Office 365 group will be created shortly, please try again later." It never actually gets created, though, even though the cron task is running every few minutes. If I use the "Resync users for groups in courses" option under Maintenance Tools, I'll see an error message like this for the course:

    Syncing group membership for course #529
    Syncing to group "{"
    Could not sync course 529. Reason: Error in API call: Invalid object identifier '{'.

    We're using Moodle 3.5 and version 2018051700 of the O365 plugin.

    Is this a known problem? The sync has worked in two courses, but we have not figured out why it's not working in all the others. I did confirm that all the users in the problematic courses had connected their Moodle accounts to O365 before attempting the sync.

    We would love to have this working consistently as a number of our instructors are asking for it in their classes. Thanks for any help!

  • Wed, Jul 15, 2020, 9:56 PM
    Hi all,
    Looking to set up the moodle tab within teams.
    While reading the documentation, there's note of creating an azure app for this purpose.
    Am i right in assuming this is a separate app to what would be used for the OpenID connect section on the "Setup" tab? The one where we assign to users to allow them to authenticate with Moodle?
  • Wed, Jul 15, 2020, 10:17 PM

    Martin Hauzenberger Fri, May 29, 2020, 6:57 PM
    Please raise all issues in this page:

    Matt Long Tue, Jul 7, 2020, 6:50 PM
    Please raise all issues in this page:

    Adam Shearman Wed, Jul 15, 2020, 2:56 PM
    That's correct, please check more details in this page (videos 1 and 5).
    First application is for SSO via auth_oidc and second application is required to complete the deployment to Azure.

    Moodle 3.9 version of plugins should be released by the end of this week.

  • Sudeep
    Wed, Jul 29, 2020, 6:48 PM
    As per the specification, this plugin is compatible on Moodle 3.5
    Can I install the same on Moodle 3.8 ?
    Will there be any issue in authentication ?
    I want this to be clarified before getting an account in Microsoft Azure.
    Also, If anyone has any idea of the pricing for this Authentication, please let me know.

    Thanks in Advance
  • Sat, Aug 8, 2020, 9:26 PM
    I have installed Moodle 3.9.1+ and integration as suggested - all working fine, courses going to Teams - but when I download the Teams app, upload to Teams, and I add it to a Team - I get Something went wrong. How do I troubleshoot this issue?
  • 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?
Please login to post comments