Create a group:
Navigate to the course that you want in Moodle
Click Participants page
In the Participants page, click on the .
On the Groups page, click Create group. (Alternatively, you can click Auto-create groups and specify how you want all students in the class divided into groups.)
On the Create group page:
Enter a Group name.
Enter a Group description, if necessary.
If you wish, you can add an identifying picture for the group, which you can choose to Hide or display.
Click Save changes.
On the Groups page, click on the group you want to add or remove users from. click Add/remove users.
Moodle implements a regular task to automatically suspend users from Moodle access because of overdue fees and withdraw from the module
On the Add/remove users page:
Select names from the Potential members list.
Click Add to move them into the Group members list.
View and export a group list or communicate with a group
In the Navigation, for the relevant course click Participants. A list of all course participants displays.
From the filter drop-down list at the top of the page, select the group to display. A list of the group members displays.
Below the list, click Select all, and from the Choose drop-down list, select:
Send a message to open a page where you can enter a message, remove group members from the recipients list, preview and (in the preview page) send the message
Download as CSV to export the group list as a CSV file to your computer.