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, Jan 21, 2015, 7:08 PM

    im trying to connect moodle with my account of office 365.

    I manage to install without problem the plugins and i have an active plan in Office 365.

    My problem start when i go to plugins ->local-> Microsoft Office 365 Integration.

    when i click at system api user no user Set user. its redirect me to

    Where i try to login with my 365 account but im getting the error

    Application with identifier "username" was not found in the directory

    what should i do?

  • Thu, Jan 22, 2015, 12:51 AM
    Hi Spyros,

    Have you added an application into Azure for Moodle? You'll need to create an application in Azure to get API keys for Moodle, then enter the API keys into the "OpenID Connect" authentication plugin settings.

    - James
  • Thu, Feb 5, 2015, 9:50 AM

    Newbie question... does the Azure account have to be the same account that the Office 365 is running on? My school board has provided us with Office 365 but will not support moodle and I'm trying to add the Office 365 and OneDrive for Business functionality to moodle but am on my own.

    Any ideas.

    Thanks in advance.

  • Thu, Feb 5, 2015, 7:11 PM
    Hi Jeff -
    Just to confirm, are you asking if the account used to get the API credentials has to be the same account used to access Office365? The AzureAD does have to have an Office365 subscription connected to use these features - basically AzureAD is used to manage the Office365 accounts. I believe many business office365 subscriptions come with Azure access (and you can use AzureAD without an additional charge), but I believe you have to have administrator access to the Office365 account to access Azure to the account.
  • Sun, Feb 15, 2015, 12:32 AM
    Are there any plans on releasing a version without the Azure AD requirement. We currently use ADFS to Shibboleth to CAS for Office 365 authentication to the desktop applications and web applications and not Azure. Would be great if we could use this but I don't see us at anytime in the near future of utilizing Azure AD.

  • Sat, Mar 28, 2015, 5:13 AM
    I have problems with integration with office 365, I have my Moodle on a VM on Azure and my Office 365 premium.
    I want to use Sharepoint as a repository of Moodle, and I'm installing OneDrive plug-in on it.
    As a previous step I'm configuring OpenID plug-in but then when I'm going to "local plug-ins" -> "Microsoft Office 365 integration" it throws me an error message: "Coding error detected, it must be fixed by a programmer: PHP catchable fatal error".
    What can be wrong in what I'm doing? Please I will appreciate your help.
  • Sat, Mar 28, 2015, 7:31 AM
    Hi Jessica - I just pushed out an update earlier today that should fix the issue. Can you make sure you're on the latest version and see if the problem persists?
  • Sun, Mar 29, 2015, 2:02 AM
    Thank you James! It totally worked!

    I've finished with Microsoft Office 365 integration section with no problems but one.
    On setup section - Sharepoint link, I've put an url in order to create, but it's taking so long... I'm waiting like 2 hours here...
    At this moment it's still processing and showing this message: Moodle is setting up this SharePoint site.
    Is this normal?
  • Sun, Mar 29, 2015, 2:27 AM
    The SharePoint site setup runs in the cron so that needs to run. Once that has run revisit the settings page and it should be set up.
  • Thu, Apr 2, 2015, 2:54 AM
    We are just about to look into this and have some questions:

    Would this plugin work regardless if our office365 subscription is the "business" or "academic/higher education" version? Is there a difference?


  • Thu, Apr 16, 2015, 1:57 AM
    Hi Jerry - We test with a business subscription but I believe as long as it's a paid Office365 subscription it should work. Please let me know how it goes for you.
  • Wed, May 20, 2015, 11:36 PM
    I´ve updated the Office 365 plugins and it shows me an error on:
    "Plugins > Microsoft Office 365 Integration > Setup > Application Permissions > "
    Error: "Check permissions in AzureAD Missing: Office 365 Exchange Online -null" (the page shows me an "Update" and "Fix permissions" buttons, then when I click them, I get the same error).
    I haven't changed permissions in Azure AD application. How do I fix this?
  • Thu, Jun 11, 2015, 11:55 PM

    I implemented my moodle plugin successfully , but I want only one group of users of my Azure Active Directory to access and not anyone with an account Office 365 , is that possible?
  • Sat, Jun 27, 2015, 5:42 PM
    Hi James,

    After installing die Office365-plugin-suite on a clean 2.9+ (no other plugins installed) I get following error-message on the "plugins overview"-page:

    Can not add jQuery plugins after starting page output!
    line 487 of /lib/outputrequirementslib.php: call to debugging()
    line 431 of /lib/outputrequirementslib.php: call to page_requirements_manager->jquery_plugin()
    line 26 of /local/o365/settings.php: call to page_requirements_manager->jquery()
    line 67 of /lib/classes/plugininfo/local.php: call to include()
    line 500 of /admin/settings/plugins.php: call to core\plugininfo\local->load_settings()
    line 6874 of /lib/adminlib.php: call to require()
    line 468 of /lib/classes/plugininfo/base.php: call to admin_get_root()
    line 1294 of /admin/renderer.php: call to core\plugininfo\base->get_settings_url()
    line 372 of /admin/renderer.php: call to core_admin_renderer->plugins_control_panel()
    line 207 of /admin/plugins.php: call to core_admin_renderer->plugin_management_page()

    Any idea?

  • Mon, Jun 29, 2015, 8:28 PM
    Dear MS Open Tech Team,

    thanks for providing this awesome plugin for Moodle. But as someone already asked: Are there any plans fo dumping the Azure AD requirement?
    We are using Office 365 for our students (over 20000) with on premise AD (we have to store student access data on our own servers by law) but would really love use the plugin.

    Asuming the high number of people I've met with the same problem on last Moodle Moot and other elearning conferences, the actual Azure AD requirement prevents many institutions of using this plugin.

    Thanks for hopefully taking this matter into account.

Please login to post comments