In order to do the following configuration to add Team for a class-specific course in Moodle to Microsoft Team, you must connect Moodle with Office 365.
Read this guide – How to connect Moodle to office 365 and then you can proceed with the steps below.
Step 1- Select ‘' Microsoft Teams ‘’ on the ‘’Microsoft’' block in your Moodle Dashboard
Step 2- Click on ‘'Teams’' to open your teams dashboard.
Step 3- Click on the ‘'Join or Create Team’' button in the top right of the page.
Step 4- Click on ‘'Create a team’'
Step 5- Enter your team details : Team Name(Module Code), Description and Privacy preference, then click next.
Step 6- Add members, individual or by entering the Intake code
Make your first post announcement to communicate with students.