Attendance is automatically collected on a Teams meeting. It will record when a participants enters a meeting and when they leave. To view Attendance:
https://app.tango.us/app/embed/Viewing-Microsoft-Teams-Meeting-Attendance-760f5976be0b4bf1a77f4fa17e25c3b8