Enrolment ::: enrol_autoenrol
Maintained by Mark Ward, RobertoRoberto Pinna
Adds functionality to automatically enrol users onto a course, either as they log into your Moodle site or as they acess a course. This plugin is primarily intended for use on courses which you want all users to be able to access but can also be configured for more advanced purposes.
Latest release:
2654 sites
112 fans
Current versions available: 2

When added to a course this enrolment plugin can enrol users onto a course automatically, either as they log into your Moodle site or as they click on the course. It is intended for use on site-wide courses such as "Moodle Help" or "Learner Voice".

In addition the plugin has advanced functionality to support autmatically grouping and filtering users based upon their attributes. Depending on how your user accounts are set
up this may help you to give access to certain user groups.

Configuration of the plugin is managed by two permissions which allow administrators to easily control who has access to the plugin.


Screenshot #0
Screenshot #1


Mark Ward (Lead maintainer)
Roberto Pinna: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Feb 24, 2021, 8:34 PM
    Hello, in the configuration of an autoenrol instance, is it possible to Allow only [role]?
  • Roberto
    Wed, Feb 24, 2021, 8:39 PM
    Hello Joanna,
    Autoenrol is an enrolment plugin, it set the role in a course for users that match the rule.

    If I understand what you ask this is not possible because users do not have a role in a course before the enrolment.

  • Wed, Feb 24, 2021, 8:58 PM
    Thanks Roberto, I was thinking of manager role at system level. We need the managers actually enrolled in the course as opposed to just being able to view without participation. On that note, I am trying instead to Allow by email, but even setting to a specific email address it is not enrolling the Manager. I have set Always enrol to Yes, in case that was required.
  • Roberto
    Thu, Feb 25, 2021, 12:17 AM
    I think that Manager role has capabilities that do not permit auto enrolment.
    Managers can enter into courses without enrolment so no enrolment procedure is called.
    Manual enrolment is the only way you can use to enrol them in a course.

  • Sat, Feb 27, 2021, 12:04 AM
    Is it safe to use in 3.10?

    Thank you!
  • Roberto
    Tue, Mar 2, 2021, 6:15 PM
    Yes, it also works with Moodle 3.10
  • Thu, Mar 11, 2021, 4:22 PM
    Hi There
    I want to delete the plug in from a course as it was applied in error and has enrolled learners who didnt need to be on the course and I can disable it but not delete it - we are running Moodle 3.8.4+ (Build: 20200717)
  • Roberto
    Thu, Mar 11, 2021, 5:43 PM
    Hi Chris,
    it's strange that it miss.
    Did you installed a very old version of Autoenrol?
    I added instance delete feature in 2.0 plugin version, about 4 years ago.

  • Thu, Mar 11, 2021, 6:03 PM
    Hi Roberto
    thanks for the rapid response - we are runnning version 2011101301 (according to my moodle info) I will try updating the plug-in to the current one (enrol_autoenrol_moodle310_2019111800) tonight
    Chris B
  • Fri, Mar 19, 2021, 5:31 PM
    i want to allow free enrolments for the users with iodic authentication. i did following

    1- installed Auto Enrol plugin
    2- Enabled Auto Enrol in Enrolments section from dashboard
    3- Default role assignment is set to Student
    4- Now for selected course i added Auto Enrol as enrolment method with following settings
    4.1 Group By : Authentication
    4.2 Allow Only : oidc
    4.3 Soft Match : No
    Limit : 0

    Now after doing this i logged in using 365, in db my enrolment method is oidc but then i am not enrolled in this course.

    Can you please advise me what am i missing
  • Roberto
    Fri, Mar 19, 2021, 6:41 PM
    with standard configuration, enrolment will be placed on course access. If you want to enrol on user login you need to set it in View more.. settings.
    Take note that auto enrol will done on login but the course do not appears in user dashboard because the dashboard content is loaded before the enrolment and I did not find a way to force reloading.
    The user will find the course in dashboard from the second login.

  • Sun, Apr 4, 2021, 8:47 AM
    Can grouping be done on the custom user profile field?
  • Roberto
    Tue, Apr 6, 2021, 3:12 PM
  • Thu, Apr 29, 2021, 10:01 PM
    Hi - been using AutoEnrol a while, it's great! Any way to set an end date to the AutoEnrol? A period where AutoEnrol is open ?
  • Roberto
    Fri, Apr 30, 2021, 2:36 PM
    Hi John, you can set start and end date in autoenrol instance settings.
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments