Microsoft 365 Integration

General plugins (Local) ::: local_o365
Maintained by Enovation Dev Team, Lai Wei
Part of set Microsoft 365.
This plugin provides libraries and services that power other Microsoft 365 plugins.
Latest release:
6314 sites
134 fans
Current versions available: 7

Microsoft 365 Plugins for Moodle

Microsoft 365 Integration Local Plugin

This plugin provides libraries and services that power the Microsoft 365 plugins. 

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

To follow active development on GitHub, or to find historical versions, click here.

This plugin is updated with stable Moodle releases. This means as of October 2022:

  • The versions for Moodle 3.11 and 4.0 gets full support. Any new features are guaranteed to be added to these two versions.
  • The version for Moodle 3.9 gets security support. New features are not to be added to this version, but some bug fixes may be added.
  • All other versions, included the one for Moodle 3.10, are out of support.

Questions and issue reporting

Github should be used for reporting issues found when configuring or using the plugin, and to ask questions. The comments area on this page is not actively monitored.


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.


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
  • Oswaldo Rojas
    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
  • george williams
    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.
  • Pedro Garcia
    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 ?
  • Tarik Hasan
    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
  • Lai Wei
    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.

  • Pedro Garcia
    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?
  • Georgia Christodoulou
    Tue, Aug 23, 2022, 1:54 PM
    Do you support SAML2 instead of OpenID?
  • Pedro Garcia
    Mon, Oct 3, 2022, 10:45 PM
    Hello, I have a problem with username as identity SSO in moodle. Basically, I can not have the username same as email data in my SSO because of security termns (we use username as the only public data from user profile.) Investigating this plugin I saw rhat there is an advanced feature says "Match Azure usernames to moodle emails instead of moodle usernames during the sync
    ". Is this what I am looking for?
  • Oswaldo Rojas
    Mon, Oct 3, 2022, 10:48 PM
    Hi Pedro, please raise your questions via so we can properly get back to you. Thanks Oswaldo
  • Oswaldo Rojas
    Mon, Oct 3, 2022, 10:50 PM
    Hi Georgia, the plugin local_o365 was tested to work with auth_oidc only, there's no feature at this moment to work with other authentication plugins like auth_saml2 for example. Regards Oswaldo
  • Pedro Crispim
    Tue, Oct 11, 2022, 8:05 PM
    I have raised a question via regarding the OIDC not working at all with Moodle 4.0.4. Please, could you give some feedback (
  • webmaster infohasmedia
    Fri, Jan 20, 2023, 11:55 PM
    Hello everyone

    Anyone can help I am getting the following message when configuring the openid connect to detect o365 business drive:

    'We could not determine your OneDrive for Business URL.
    Please make sure "Microsoft 365 SharePoint Online" has been added to your registered application in Azure AD

  • Jean-Gabriel DEPINOY
    Wed, May 10, 2023, 9:19 PM
    Hello everyone,

    I am using Moodle 4.2 with authentication by Microsoft 365 accounts. Since today, several accounts are no longer able to connect to Moodle. I wonder if this is not related to a message I received recently from Microsoft 365 which told me that it would be necessary to switch to double authentication.
    Anyway, I now get a "Connection failed, please try again" message when I try to connect.

    Until now, in the setting of the OIDC authentication method, I had checked "Grant resource owner password credentials" which allowed users to enter their username and password directly on the Moodle login page. their Microsoft 365 password.
    To work around my connection problem, I checked "Authorization code stream (recommended)" which helps to find my connection. But it requires me to go through the Microsoft 365 login page and use two-factor authentication. In short, it's a big waste of time that I would like to avoid.

    Does anyone have an interesting lead?
  • Carlo Stefano Cavicchioli
    Mon, Aug 28, 2023, 9:18 PM
    I'm trying to configure the microsoft integration to use teams inside moodle.
    When users regularly registered on Azure AD access the teams meeting, an error message appear: "There was a problem connecting your course to Microsoft Teams
    You need an educator or student license to use Teams for Education. Try asking your IT administrator to assign the correct license to you."

    It seems that the integration works only with an edu license but we have a business license: could you confirm if we need of the edu license to use the integration?
    Otherwise, could you give information about the right settings to configure, in order to get access with a business license?
    Thank you.
  • Marco Tenthoff
    Tue, Aug 29, 2023, 2:01 PM
    Hello all.

    We have been using Microsoft 365 integration in Moodle (version 4.1) for quite some time.
    Now I have also successfully integrated Teams using the tutorial "Integrate Microsoft Teams classes and meetings within Moodle".

    But now the following problem has occurred:
    The students from a course are transferred as members to the corresponding team.
    In Teams, however, they then have the status "Speaker" and can automatically, for example, switch off the microphones of all other participants.
    If you change the status in teams manually to "Participant", all settings are as desired.

    At which point is it defined that the student becomes a "speaker"? In Moodle the students are only in the group "Student".
    Does anyone here have a tip, what the problem could be, or do I understand something wrong in the use?

    Thank you.
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments