Microsoft 365 Integration

General plugins (Local) ::: local_o365
Maintained by Picture of Enovation Dev TeamEnovation Dev Team, Picture of James McQuillanJames McQuillan, Picture of Zion BrewerZion Brewer, Picture of Nima MojganiNima Mojgani
This plugin provides libraries and services that power other Microsoft 365 plugins.
Latest release:
5104 sites
105 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.

If you are using Teams integration feature, release 3.9.1 and contain major changes which requires actions. Please refer to these instructions.

To follow active development on GitHub, click here.

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

  • Bug fixes for general core bugs and security issues for all plugin versions for Moodle 3.8.x and earlier versions have ended, with the following exception:
    • Bug fixes for security issues for Moodle 3.5.x versions will end 10 May 2021.
    • Bug fixes for security issues for Moodle 3.8.x versions will end 10 May 2021.
  • For plugin versions for Moodle 3.9:
    • Bug fixes for general issues will end 10 May 2021.
    • Bug fixes for security issues will end 8 May 2023.
  • For plugin versions for Moodle 3.10:
    • Bug fixes for general issues will end 8 November 2021.
    • Bug fixes for security issues will end 9 May 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


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

Comments RSS

Show comments
  • Picture of aashish kumawat
    Mon, Jul 6, 2020, 4:28 PM
    please learn here
  • Picture of Matt Long
    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!

  • Picture of Adam Shearman
    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?
  • Picture of Oswaldo Rojas
    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
  • Picture of Agnar Gudmundsson
    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?
  • Picture of Gareth Robarts
    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
  • Picture of eder aam
    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.
  • Picture of Mohamed Lotfy
    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?
  • Picture of eder aam
    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.
  • Picture of Mohamed Lotfy
    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
  • Picture of Jelly Smith
    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?
  • Picture of Jelly Smith
    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?
  • Picture of Gus Hagelberg
    Wed, Dec 9, 2020, 6:02 PM
    When will you be releasing a version for Moodle 3.10?
  • Picture of Test Hoster
    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?
1 2 3 4 5 6 7 8 9 10
Please login to post comments