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:
6333 sites
3k downloads
135 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.

The supported Moodle versions of this plugin is in line with core Moodle version 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.

Contributing

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)

Copyright

(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.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5

Contributors

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

Comments RSS

Comments

  • Moodle SV
    Mon, 31 July 2017, 9:01 AM
    Hi all,
    I'm having issue with getting OneNote Integrate with Moodle. It doesn’t show in Microsoft block and when I add to repository, it gives this error “The OpeID connect authentication plugin or the Microsoft Account local plugin must be configuring to use OneNote Repository”
    I can log on to Moodle with O365 account. However, under Microsoft Office 365 Integration plugin, under “Azure AD Setup” it says Couldn’t check reply url.
    In my Azure ad app I add same reply url as Microsoft Office 365 Integration plugin in Moodle .
    I appreciate any help. Thanks
  • Colin Wheelhouse
    Sun, 27 Aug 2017, 4:41 PM
    Hi, we have Office 365 for Education for staff and students alike, however we do not use Azure AD and all our users are in our 'normal' AD. Would we have to export all users from AD to Azure AD for this SSO to work? Also how do we access the free Azure AD, it appears as if it attempts to bill us. Is there a walkthrough that I can use with our network chaps?

    Cheers
    Colin
  • Henrik sune Pedersen
    Tue, 29 Aug 2017, 8:57 PM
    Hi,

    We have had some problems with the plugin creating cron locks. When we disable the syncronise SDS cronjob, the cronjob are working fine, but if we enable the Syncronice with SDS we get an error saying that: https://www.screencast.com/t/5Wo7gfF1f - we cant seem to figure why its locking
  • Pieterjan Heyse
    Fri, 8 Sept 2017, 2:29 PM
    We upgraded to Moodle 3.3.1+ this summer and are using Office 365 SSO plugins. Alls our users are SSO users and since the upgrade, no matter what, when they login their language preference gets reset to 'en'.

    I have manually changed the language to 'nl' via a database query, but since the change happens on login, when they login their language gets reset back to 'en'. This did not happen in our previous version (3.1) where we also userd the SSO plugin through Office365.

    To fix this, I changed line 271 in local/o365/classes/observers.php from

    $updateduser->lang = 'en';

    to

    $updateduser->lang = 'nl';

    It would be nice if this wouldn't happen at all, can you please change to code to change the user lang to respect the site language (moodlecourse | lang) if it is not already set?
  • Colin Wheelhouse
    Tue, 3 Oct 2017, 9:40 PM
    Hi, we have set up the OIDC and it works for admin fine. It works for students if the preventaccountcreation is off but then we get duplicate accounts. It appears that the SDS cron is not running and we get this error if we try and run it manually.

    Execute scheduled task: Sync with SDS (local_o365\feature\sds\task\sync)
    ... started 14:37:06. Current memory use 9.9MB.
    Exception - Argument 1 passed to local_o365\rest\o365api::__construct() must be an instance of local_o365\oauth2\token, null given, called in [dirroot]/local/o365/classes/feature/sds/task/sync.php on line 361

    Anybody got any ideas?

    Cheers

    Colin


  • Jari Vilkman
    Wed, 4 Oct 2017, 6:52 PM
    Hello,

    is this plugin still being developed? Will this plugin be Moodle 3.3 compatible?
  • Steve Massicotte
    Fri, 6 Oct 2017, 11:25 PM
    Hi,

    our university is now using Office 365 and we want to give access to OneDrive for business and OneDrive personal to our user. We are using Moodle 3.3 and we noticed that the core plugin now give access to both of them. We also noticed that your documentation still talk about the repository_office 365 plugin.

    My question : Is the repository_office 365 plugin still necessary ? Does it give some extra features that the core plugin does not cover ?

    Thanks

    Steve
  • Tom E
    Thu, 23 Nov 2017, 10:23 PM
    Hi, I cannot run any cronjobs anymore, getting this:
    Execute scheduled task: Nutzergruppen in Office 365 erstellen (local_o365\task\groupcreate)
    ... started 15:20:36. Current memory use 16.8MB.
    !!! Fehler: Argument 1 passed to local_o365\rest\o365api::__construct() must be an instance of local_o365\oauth2\token, null given, called in [dirroot]/local/o365/classes/feature/usergroups/coursegroups.php on line 393 !!!

    Please help! I just made security updates on the server, nothing else, Moodle does not send notifications any more...THANKS!!!
  • Tom E
    Thu, 23 Nov 2017, 10:36 PM
    ok i disabled sync office365 groups under the settings of the plugin, looks better now, thanks anyway!
  • Aaron Johnson
    Tue, 12 Dec 2017, 5:15 PM
    Hi,

    I can't get this plug-in to properly install. When I try installing it, I get a "DDL sql execution error" followed by a long list of debug messages starting with "Debug info: Table 'mdl_local_o365_cronqueue' already exists".

    The Stack trace is:
    line 485 of \lib\dml\moodle_database.php: ddl_change_structure_exception thrown
    line 1000 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 77 of \lib\ddl\database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
    line 425 of \lib\ddl\database_manager.php: call to database_manager->execute_sql_arr()
    line 370 of \lib\ddl\database_manager.php: call to database_manager->install_from_xmldb_structure()
    line 520 of \lib\upgradelib.php: call to database_manager->install_from_xmldb_file()
    line 1748 of \lib\upgradelib.php: call to upgrade_plugins()
    line 693 of \admin\index.php: call to upgrade_noncore()

    Without this plug-in, I can't use the Office 365 Repository. I am using Moodle 3.2.2

    Thanks,
    Aaron
  • Jordan Salivan
    Thu, 1 Feb 2018, 8:09 PM
    Tell me please, can i integrate Word to my website - http://www.casestudywriter.org/ ? I want to make online grammar check at service.
  • Wolfgang Stettler
    Fri, 16 Feb 2018, 5:14 PM
    Hi,
    We are having difficulties with connecting Moodle and Azure (o365). The Azure AD Application reports the error that it could not check the reply url.
    Is this possibly a proxy problem? With other Moodle plugins we faced the problem, that they do not use Moodle's proxy setting. Does this plugin use them, or can they be configured seperately?

    Thanks,
    Wolfgang
  • Jari Vilkman
    Tue, 20 Feb 2018, 2:51 PM
    Hello,

    Can you automate the user account linking to o365-services or do every student have to do it once bythemselves?
  • James McQuillan
    Tue, 20 Feb 2018, 9:22 PM
    Urpo Karhula - The "user sync" option from the "Options" tab of the plugin settings provides a few different options for this. You can have the plugin create new user accounts for everyone in Azure AD, or have it automatically match users that have the same usernames.
  • Andrew Chapman
    Wed, 7 Mar 2018, 9:40 AM
    In Azure AD setup of the configuration page, when clicking on update, we get errors:
    Could not check reply url
    Could not check sign-on URL
    - And graph
    Error in API call: Property 'appid' does not exist as a declared property or extension property.

    Everything else appears correct. I have read that this problem was fixed in later versions (ie for later than Moodle 2.9), but that this version of the plugin is still quite old (from May 2017). We have the latest version. Is the problem going to be fixed for this version, too?

    We have another issue, which I wonder might be related to this: teachers who upload files to courses from their OneDrive to share with students using the O365 file picker, do not seem to get sharing permissions set properly. When students go to view the resources they receive an O365 warning that the file is not shared with them. Any advice on this?
Please login to post comments