A new course has been created and in our case we would enrol students by selecting those students and then allocating them as participants into the newly created course.
Is there a method where we are able to add all the active students in the site to this new course in some way?
You're able to automatically enrol all users that access the platform into a course by creating an advanced cohort containing all active users on the platform and then using the cohort sync enrolment method to sync to facilitate all users to be enrolled into the course.
Step 1. Set up an advanced cohort.
Please use the below instructions to setup an advanced cohort within your site that contains all users. All users added to the platform that have an active user account will be assigned to this cohort, regardless of their account creation date.
At Step 10 The rule that you will need to apply when creating the cohort is Suspended is equal to 0
Step 2. Setup a cohort sync that you'd like the cohort to be enrolled into.
The cohort sync enrolment method will allow you to automate the enrolment of all cohort members into courses. This removes the manual task of a teacher or administrator having to enrol users into this course.
By following these setups, the enrolment of newly created user into your newly created course will be automatic once their user account is created. As long as the account is active.