Azure Active Directory

Blocks ::: block_azuread
Maintained by Girish Bablani
This plug in allow authentication against Azure Active Directory or Office 365. Has to be used in conjunction with auth_azuread plugin.
Latest release:
3 sites
7 fans
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5


This plugin is part of set Azure Active Directory.


Screenshot #0


Girish Bablani (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Thu, May 30, 2013, 5:14 PM
    Thanks Girish, this seems to have no problems installing on 2.5 here.

    Please consider adding URLs (bug tracker, code repository, documentation) as well as renaming/copying README file to .txt extension.
  • MD shot of me from his iphone4
    Tue, Jun 4, 2013, 11:25 AM
    The documentation is readable only via downloading, i'd recommend adding that as the description here. You can edit this plugin's description at block "Administration" > "Azure Active Directory" > "Edit this plugin" at the 'description' editor.
  • MD shot of me from his iphone4
    Thu, Mar 27, 2014, 10:01 PM
    Hi I downloaded and uploaded to my site and got during install :
    Warning: require_once(D:\home\site\wwwroot/auth/azuread/graph.php): failed to open stream: No such file or directory in D:\home\site\wwwroot\blocks\azuread\block_azuread.php on line 28 Fatal error: require_once(): Failed opening required 'D:\home\site\wwwroot/auth/azuread/graph.php' (include_path='D:\home\site\wwwroot/lib/zend;D:\home\site\wwwroot/lib/pear;.;C:\php\pear') in D:\home\site\wwwroot\blocks\azuread\block_azuread.php on line 28

    simple resolution is to add $plugin->dependencies auth_azread to the version.php here.
  • Fri, May 13, 2016, 2:11 AM
    Ok I just read through the word documenation for this plugin.

    It talks about
    User Logon and demand create
    When a new Office 365 user from your university domain logs into Moodle they will be authenticated by Office. If they already have an account in Moodle they will be logged into Moodle. However if they do not have an existing Moodle account the account can be created on demand. This behavior is governed by the “Prevent Account Creation During Login” setting in the “Manage Authentication” tab. If you want to disallow this creation uncheck this box.

    But how does it manage exsisting Moodle users with matching email address in Azure? So I don't get duplication of accounts happening, and so I can get old accounts flipped over to using the new login credentials from Asure?

  • Mon, May 16, 2016, 4:44 AM
    For Moodle version 2.7 or above, please review the Office 365 and Azure AD plugins for Moodle. The plugin set provides options for user sync and user matching, so you don't get duplicate accounts and existing accounts flipped over to the new authentication method. Documentation is available at
Please login to post comments