Blocks: Microsoft Block

block_microsoft
Maintained by Picture of James McQuillanJames McQuillan, Picture of Nima MojganiNima Mojgani, Picture of Zion BrewerZion Brewer
This block provides a user-facing menu to access various Office 365 integration features, resources, and settings.
1137 sites
1k downloads
32 fans

Office 365 Plugins for Moodle


Microsoft Block

This block provides a user-facing menu to access various Office 365 integration features, resources, and settings.

NOTE: This plugin replaces the two profile field plugins in the Office 365 plugin set: profilefield_oidc and profilefield_o365.


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.


Resources

Get Office 365: http://office.com/getoffice365

Office 365 for Education: https://products.office.com/en-us/academic/office-365-education-plan


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.


Sets

This plugin is part of set Office 365.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of James McQuillan
James McQuillan (Lead maintainer)
Picture of Akinsaya Delamarre
Akinsaya Delamarre
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Mark Schweter
    Thu, Aug 11, 2016, 9:41 AM
    After upgrading this Microsoft block, users who did not previously connect their Moodle account with their Office 365 account do not have the option to do so in the Microsoft block. I've attempted to both check and uncheck the 'Show Office 365 Connect link' option for the Microsoft block defaults, but this does not result in this option displaying for users.

    Anyone have a fix?
  • Picture of James McQuillan
    Thu, Aug 11, 2016, 11:16 AM
    Hi Mark - have you granted your users either the "auth/oidc:manageconnection" or "auth/oidc:manageconnectionconnect" capabilities - these capabilities are required to show this link. Older versions incorrectly did not require these capabilities (they were only checked further down the connection process).
  • Picture of Mark Schweter
    Thu, Aug 11, 2016, 5:11 PM
    James - I later came across Thomas College's post regarding granting permissions for Authenicated Users "Allowing OpenID Connection and Disconnection". This was spot on and corrected my issue. Thanks to all for the help.
  • Picture of Paul Clarke
    Mon, Sep 5, 2016, 9:31 PM
    Hi,

    Not sure if this is at all related but it seems as though it might be. We are unable to run our daily cron. The error I have listed is as follows:

    Server Time: Mon, 05 Sep 2016 13:30:46 +0000


    Execute scheduled task: Sync with SDS (local_o365\feature\sds\task\sync)
    ... started 13:30:46. Current memory use 14.7MB.
    !!! Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
    [dirroot]\lib\classes\task\manager.php on line 475

    Code should look like:

    $factory = \core\lock\lock_config::get_lock_factory('type');
    $lock = $factory->get_lock(Resource id #607);
    $lock->release(); // Locks must ALWAYS be released like this.

    !!!

    Any Ideas?
  • Picture of James McQuillan
    Wed, Oct 5, 2016, 12:30 PM
    Hi Paul, I'm not sure why you're seeing that message - will investigate further. In the meantime, you can disable the task by going to the scheduled tasks settings page ([moodle URL]//admin/tool/task/scheduledtasks.php), clicking the gear icon next to the "Sync with SDS" and checking "Disable". Unless you are using school data sync, this task does not do anything anyway so it is safe to disable. Thanks!
  • Picture of tamas erdelyi
    Thu, Dec 1, 2016, 3:44 PM
    Hi, somebody facing the same problem with the calender? It´s just syncing one way moodle -> outlook, even if I check both ways, moodle version 2.8.12, thanks tom
  • Picture of tamas erdelyi
    Thu, Dec 1, 2016, 5:32 PM
    Sorry, cronjob was not runnning ;)
  • Picture of tamas erdelyi
    Thu, Dec 1, 2016, 7:47 PM
    Anyway looks like it´s not perfectly working, if I change or delete a calendar entry in Outlook, I can´t see the changes in Moodle sad
  • Picture of Bryce Holland
    Tue, Jan 31, 2017, 10:26 PM
    This block has been very helpful for two Moodle sites that I manage! Is there a way to find out how many users have linked their accounts via the Microsoft block? We authenticate via LDAP, not Office 365 Azure, so users have to link manually.
  • Picture of James McQuillan
    Fri, Feb 3, 2017, 6:21 AM
    @bryce - If you can execute manual SQL queries on your database, the "mdl_auth_oidc_token" database will help you get that information. We don't currently have a front-end for that statistic though.
  • Picture of erika alarcon
    Wed, Apr 5, 2017, 11:48 PM
    Hello, we love this plugin but we have a problem

    We are going to upgrade to Moodle 3.1 and reviewing the Groups we found that we can't see Study Groups in the Microsoft Block.

    In /blocks/microsoft/block_microsoft.php on line 143 is the following code in comments:

    // If (! Empty ($ config ['settings_showstudygroups'])) {
                        // Temporarily removed pending further design work.
    //                    $ Studygroups = \ local_o365 \ feature \ usergroups \ utils :: study_groups_list ($ USER-> id, ['courseid' => $ PAGE-> context-> instanceid], false, 0, 5);
    //                    $ Items = array_merge ($ items, $ studygroups);
    //                }

    We remove the comments and we already see the list of Study Groups.

    There are also two lost folders that are in Moodle 2.7
    / Moodle / blocks / microsoft / groups /
    / Moodle / blocks / microsoft / tests /

    Our students and teachers are already using Study Groups and we can not remove this option.

    We need help to know what files and folders to add so we not lose the functionality that was already in Moodle 2.7
  • Picture of Diego Rodrigues Borges
    Wed, May 3, 2017, 9:17 PM
    Hello, in my microsoft blocks the link to the OneNote is not showing up. Would anyone know what can be done to solve this problem? see the print https://seducgogov-my.sharepoint.com/personal/diego_rmborges_seduc_go_gov_br/_layouts/15/guestaccess.aspx?docid=0ab08381ebd2f4439aa8922717df88058&authkey=AQ47NZe2RSsBeLVoS7mEJ7o
  • Picture of Brad Nielsen
    Tue, Jun 26, 2018, 8:03 PM
    Hi I was just wondering about the progress on the School Data Sync option. Does it work? Can it create Moodle Courses and synchronise the enrolment of Students based on their membership to Office 365 Class Groups on Azure?
  • Picture of Jorge Ampudia Ortega
    Mon, Oct 22, 2018, 5:13 PM
    Good Morning
    We are using the microsoft block in our school.
    I would like to suggest an improvement to the block.
    It would be highly recommended that in the access to My email, the number of unread messages or at least one asterisk appear in parentheses indicating that there is an unread message.
    Thanks greetings
  • Picture of Carlos Moran
    Tue, May 21, 2019, 12:39 AM
    I have a problem I miss this message:

    'You are almost connected to Office 365
    You have been assigned the Office 365 user "xxxx@ppp.onmicrosoft.com"

    To complete the connection, click on the following link and log in to this Office 365 account.

    Log in to Office 365'

    But he does not log me in.

    Can someone help me?
1 2
Please login to post comments