Your Moodle version

Authentication: Azure Active Directory

Maintained by Picture of Girish Bablani Girish Bablani
Allows authentication against Azure Active Directory or Office 365. Useful for EDU customers of Office 365. Must be used with the block_azuread plugin
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5


This plugin is part of set Azure Active Directory.


Screenshot #0


Picture of Girish Bablani
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, 3:04 PM
    Hi Girish,
    This plugin installs fine here on Moodle 2.5, are you sure you only support this for Moodle 2.0? (just checking)

    Could you also consider adding the following urls:
    - documentation (or links to any documentation out there about using this)
    - bug tracker url ( github has )
    - any website url (that demonstrates this plugin perhaps)
  • MD shot of me from his iphone4
    Thu, May 30, 2013, 3:05 PM
    Also please consider renaming (or creating a copy) of the to README.txt
  • Picture of Girish Bablani
    Thu, May 30, 2013, 3:21 PM
    My bad - I assumed marking for 2.0 implied upwards compat. Fixed that and added URL for documentation. Also added bug tracking URL
  • MD shot of me from his iphone4
    Tue, Jun 4, 2013, 10:52 AM
    Thanks Girish,
    i've copied your urls from the release notes and added them to the 'useful links' section. If you have any urls, please add them to this section. The documentation is readable only via downloading, i'd recommend adding that as the description here when you edit the plugin entry.
  • Picture of Girish Bablani
    Fri, Aug 9, 2013, 3:47 PM
    I just updated a new version that checks for php_http being installed on the system. It also updates the way it gets federation metadata from Azure Active Directory
  • Picture of Alex Mela
    Fri, Jul 4, 2014, 5:33 AM
    Hello Girish, how are you? Thanks for your contribution.
    I was wondering if this authentication only works if you have your moodle hosted in Azure, or if it's working for any moodle installation.
  • Picture of Girish Bablani
    Fri, Jul 4, 2014, 6:01 AM
    This will work for any supported Moodle installation
  • Picture of Gopika Suma
    Thu, Jul 10, 2014, 7:38 PM
    Hi Girish,

    I am new to moodle and also windows azure.We need a feature for single sign on with office 365. When I searched I got this plugin. I got your ModuleSSO document. But I am getting stuck. The problem is in windows azure interface I am not able to get the integrated apps menu or the enable single signon or when we create the app the option of single sign on, read directory data.

    Any help would be great.

    Thanks and Regards
  • Picture of Anthony Connor
    Tue, May 26, 2015, 4:28 PM
    Hi Girish,

    I am interested in using your plugin on our site. Before I install it I was wondering if login against Azure AD is only available within the AzureAD block? We force users to login before they can see the frontpage so can this authentication method be used on the login page?

  • Picture of Girish Bablani
    Tue, May 26, 2015, 11:12 PM
    Anthony thanks for the mail. The code is written such that without modifications the sign-in into AzureAD is only initiated from the block code. However the AzureAD plugin does not require the block code. What you could do is grab the code that generates the loginURL as well as the settings from the block code and integrate that into your frontpage to have an integrated login experience

  • Picture of Dave Arnold
    Tue, Jun 23, 2015, 1:48 AM
    I got this installed on moodle 2.5.3+ and I can login through the link on the block; however, it does not sync any user data. The usernames that get created look like the user's object id. There's no firstname, lastname, or even email address. Is it suppose to sync these things and I'm just missing something? I could not find mapping settings like there are for the ldap plugin.
  • Picture of Dave Arnold
    Tue, Jun 23, 2015, 5:31 AM
    I also want to note that pecl_http version 1.7.6 is required. The latest version available won't work because they have dropped functions, which causes fatal errors. So even with the php_http check it will fail at http_get unless you have the older version. I would recommend the plugin be updated to use curl instead.
  • Picture of Dave Arnold
    Wed, Jun 24, 2015, 1:39 AM
    If anyone else has trouble with getting user data to sync, the root of my problem was permissions in AD Azure. You must provide the application with access to "Read Directory Data" I set it on both Application Permissions and Delegated Permissions before it started working.
Please login to post comments