General plugins (Local): Microsoft Office 365 Integration

Maintained by Picture of James McQuillanJames McQuillan, Picture of Zion BrewerZion Brewer, Picture of Nima MojganiNima Mojgani
This plugin provides libraries and services that power other Office 365 plugins.
1999 sites
78 fans

Office 365 Plugins for Moodle

Microsoft Office 365 Integration Local Plugin

This plugin provides libraries and services and power other Office 365 plugins.

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

This plugin is updated with stable releases. To follow active development on GitHub, click here.


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 Office 365.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of James McQuillan
James McQuillan (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 KME Support
    Mon, Sep 10, 2018, 7:00 PM
    Hi James

    I will do that, thanks for your response!
  • Picture of Peter Smolders
    Tue, Nov 6, 2018, 9:47 PM
    I think there is an error in o365/classes/rest/unified.php. I have replaced Id with appId on line 1116 o365/classes/rest/unified.php
    $endpoint = '/applications/?$filter=appId%20eq%20\''.$oidcconfig->clientid.'\'';
    instead of
    $endpoint = '/applications/?$filter=Id%20eq%20\''.$oidcconfig->clientid.'\'';

    I do not have an API call error anymore, but the error 'Could not check reply url' remains.
  • Picture of Kimmo Kiiskinen
    Thu, Nov 8, 2018, 3:39 PM

    can you update the latest version here in, they are not up to date with the versions in git.
  • Picture of Cheryl Schmelzer
    Fri, Feb 8, 2019, 6:28 AM
    When we sync users from Azure AD to our Moodle site, we must be able to include the user's manager (Azure Manager field); however, Manager is not available in the AD drop down list in the plugin? Can this field be added - and can we link it to a Manager field in Moodle? Thank you.
  • Picture of Kashyap Kr
    Thu, Feb 14, 2019, 2:41 PM
    Hi, I'm facing issues with the plugin like when first time I login with O365 account it prompts me to edit the fields instead taking to the profile/dashboard. Second issue is I'm not able to get the user profile fields from o365 like the reporting manager and the designation/role. Can u please fix this ASAP.
  • Photo ID
    Fri, Feb 15, 2019, 6:37 PM

    Version (2018051706) causes three 404 errors because the plugin tries to load the Segoe font on EVERY page of Moodle but the path define in style page is not valid (local \ o365 \ style.css, lines 1 to 30)

    404 Requests URL:
  • Picture of Kashyap Kr
    Thu, Feb 28, 2019, 3:18 PM
    Hi, I need help regarding O365 profile card to moodle fields like the orga chart.
  • Picture of Fab Lor
    Wed, Mar 6, 2019, 11:59 AM
    Hi, maybe someone can help with this question:
    I was able to configure the plugin but when a Office 365 user logins for the first time, moodle takes him to the profile page, and unless the user clicks on the update button, it will let the user continues. Why is this happening? Is there something Im missing? Why moodle thinks there is some profile information missing?
    Thank you
  • Picture of Eric Breton
    Fri, Apr 12, 2019, 10:45 PM
    Hello, can you tell us if the plugin will support version 3.6 of Moodle in a near future ?
  • Picture of Frédérique Seillec
    Tue, May 21, 2019, 9:27 PM

    I have an API Error and I don't understand why

    mode_checksetup:unified: Erreur d'appel API. Data: Array ( [file] => /home/clients/a8114442c81c1e98c5eed34ea0c75c52/web/moodle-schooltech/local/o365/classes/rest/o365api.php [line] => 262 [message] => Erreur d'appel API. [debuginfo] => [errorcode] => erroro365apibadcall [module] => local_o365 )

    ocal_o365\rest\unified::get_application_info:1130: Bad response received Data: (string)
    Bad Request
    HTTP Error 400. The request is badly formed.

    Could you help me ?
  • Picture of Ricardo Poyato
    Tue, Jun 4, 2019, 9:33 PM

    I have a problem with the sync / update and I don't know if it is a bug or a config problem.
    I can create users in AAD and then get synced/created in moodle database but when I change some data in AAD (user department) I can't get that user sync/updated in the moodle database.

    Anybody with the same case?

    Thanks so much.

    Ubuntu 18.04
    Moodle 3.6.3 (Build: 20190311)
    Integración de Microsoft Office 365
  • Picture of Nadia Festa
    Tue, Jul 30, 2019, 5:02 PM
    I need to sync a custom field of Azure AD not shown in the User Field Mapping list.
    How can I customize this feature?
    Thanks so much

  • Picture of Robert Vogel
    Wed, Aug 14, 2019, 12:31 AM
    Hello Team,
    how can I sync Team Guest users to Moodle ?
    I invited people to Teams as Guest Users, but they were not synced to the Moodle db.
    Thanks for your feedback
  • Picture of Rahul Kumar
    Fri, Sep 13, 2019, 6:06 PM
    Hi Office Plugin Team,
    I would like to know that,office 365 support integration with Totara Learn LMS. I am looking forward to hearing from you
  • Picture of Kimmo Kiiskinen
    Thu, Oct 24, 2019, 5:44 PM

    can you update the latest version here in, they are not up to date with the versions in git.
1 2 3 4 5 6 7 8
Please login to post comments