Enrolment ::: enrol_invitation
Maintained by Michael Milette
The invitation enrollment plugin enables teachers to send course invitations to some users by email.
Latest release:
437 sites
49 fans
Current versions available: 2

Invitation Enrolment Moodle Plugin

The Invitation enrollment plug-in for Moodle LMS allows instructors to invite students to their course and site, and grant necessary access and role to them. The invitation is sent via email and contains a link with an unique, one-time use invitation token.

When the user clicks on the link and logs into the site, (s)he is automatically enrolled into the course and the invitation link is marked as used.


The benefits of using this plug-in over an enrollment key are:

  • You can control who can use the invitation.
  • You can include a personalized message in the invitation.
  • You can see a history of past invitations and their status.
  • You can also see who used an invitation or which ones are expired.
  • You can resend expired invitations or send reminder invitations.
  • You can revoke the invitation if has not yet been accepted.
  • You can invite users who do not yet have an account. However, they will need to create an account before they can accept the invitation.
  • You can limit invitations to users with existing accounts.
  • You can limit the lifespan of the invitation (e.g. 2 weeks)


Invitation enrolment is a contributed plugin. You are welcome to submit Pull Requests on Github and to report issues. However, free support is not guaranteed.


See for information on how to install and configure the plugin.


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


Michael Milette (Lead maintainer)
Jérôme Mouneyrac: Original maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mon, Sep 13, 2021, 11:00 PM

    I am happy to announce that Michael Milette has adopted this plugin and became a new maintainer of it!

  • Fri, Jan 14, 2022, 9:30 AM
    Amazing plug-in!!!!!
    It’s a big solution for some of my needs!!!
    The only thing is missing is the possibility of unenroll students after a date or after some days after enrolling, if you accepts my suggestion… (using the version for moodle 3.9 and up).
  • Fri, Jan 14, 2022, 12:22 PM
    Hi Tomaz, glad to hear that it works well for you. I will be updating it again, hopefully within the next few days, as I iron out a few last known more minor issues before I release it here on

    As for giving accounts an expiry date, I agree with you and have heard the same from others too. Feel free to submit your suggestion using the Bug Report link.

    Best regards,

  • Tue, Jan 18, 2022, 5:27 PM
    Invitation enrolment plugin for Moodle version 2.0.0-beta just released for Moodle 3.9, 3.10 and 3.11.
  • Wed, Jan 19, 2022, 4:15 AM
    Invitation enrolment plugin for Moodle version 2.0.1-beta just released for Moodle 3.9, 3.10 and 3.11. Corrected a compatibility issue with Moodle 3.9 and 3.10.
  • Sat, Jul 23, 2022, 3:56 PM
    Hi Guys, great work and love the plugin. All is working ok but I do have the invitation icon on the course tab on the homepage which is not displaying correctly. I have a small "+" sign and when you hover over it displays "Invitation". I would post the screenshot here but cannot upload it. If it won't display properly can I hide it? I am running Moodle 4.0 with the latest Adaptable theme. Any help would be great. Thanks kindly.
  • Sun, Jul 24, 2022, 6:53 AM
    Hi Andy, try the Discussion link and post your question there. If it turns out to be a bug, use the Bug Tracker link. Both places allow you to include screenshots.
  • Sun, Jul 24, 2022, 3:41 PM
    Hi Michael, it turns out that it is ok. It's just the icon used is not ideal as all you can see is a slightly square box with a green plus sign at the top of the square, just like you have above. In reality on 2 different themes, you cant see the envelope, therefore, leaving a slight confusion to the user as they click on the add sign on the icon expecting action and not realising it's the icon to show the enrolment for that course. Can I suggest maybe changing the icon, to a mail send icon instead, which might display better on themes, etc? Not a big deal and thanks for getting back to me quickly. Always nice to help with feedback. Great work, and really nice plugin. Andy
  • Sat, Aug 20, 2022, 7:50 PM
    Hi guys might be a silly question, if someone rejects the enrolment on the invitation this will appear on the invitation history as "no longer has access". How do we delete that history? otherwise, if this reject in the email has been accidentally pressed and this reject has been accepted when user logs in, there is no way of overturning it. Does this mean the user is banned from accessing this forever as this is linked to his/her email rather than a registered user?. To work around this i have deleted the HTML from the email template with regards to reject link, problem is i cant use that user email unless there is another way or erasing that history.

    Any thoughts guys or am i missing something? I love the plugin, just feel that admins should be able to erase that history if needed.

    Kind Regards
  • Tue, Nov 29, 2022, 2:27 PM
    Could you please tell how to enable the enrolment plugin in moodle version 3.11
  • Tue, Nov 29, 2022, 10:17 PM
    Hi Sinsila, see the installation instructions at the top of this page and follow the link to the file.
  • Tue, Jan 24, 2023, 6:07 PM
    Hi. Thank you for the plugin. Would you please guide me on how to enroll the student in the correct group? I let the non-editing teacher invite users and the user accepted the invitation but there was no group info. The non-editing teacher doesn't see the student in his group. Also, the teacher is able to see all invitations. Can we prevent that? Thank you.
  • Thu, Jun 29, 2023, 4:51 PM

    we have the problem that more than 50% of the invited participants do not receive the emails.

    It seems that most of the problems occur with Gmail recipients - but also some others.

    Has anyone (had) the same problem?

    I would appreciate any advice.
  • Thu, Sep 21, 2023, 1:57 AM
    I've successfuly installed plugin, added it to test course, sent invite to non registered test email, received this email and followed invite link (clicked Accept invitation button). But after it i see standart login page where i should input login and password. Can you tell, what configs I missed? Or may be you can tell the direction where i should check logs or smth else?
  • Fri, Sep 22, 2023, 9:26 AM
    New users will still need to create an account to register on the site. However, once they do that using the link in the email, they will automatically be enrolled in the course.

    If you are not seeing the option on the login page to create a new account, that option may need to be enabled on your site.
1 2 3 4
Please login to post comments