To use Microsoft Teams in Moodle you need to first enable the block in each of your courses. It also provides a fast way for you and your students to access the Microsoft account and download Microsoft Office. You will need to make your course visible to students for the Microsoft Block and any Teams meetings to sync properly.
1) In your course, enable editing via the toggle in the upper-right corner. Select the right side drawer if it is not open already from the drawer button below the edit toggle.
2) From the right drawer menu, select Add a block.
3) Select the Microsoft block from the list of options,
4) The block appears on the right side of your course page. Select the options to configure course sync.
5) Make sure the dropdown is set to Enabled and select the Save button.