Microsoft Teams Auto-Attendance tracking is a feature of the Confirm Platform that enables customers to automatically track attendance of learners on MS Teams meetings. These can be both online or hybrid sessions.
The following instructions are designed to reduce implementation time and provide clarity on the jobs to be done, and the responsibilities for you and Confirm.
If you require any assistance please contact Confirm Support.
Pre-requisites
- A Microsoft 365 tenant with Azure Active Directory
- Admin access to the Azure Portal for app registration
- Admin consent rights for Microsoft Graph API permissions
- PowerShell access to set up a Teams application access policy (required; see Step 5)
One time set up
The LXP can automatically fetch attendance data from Microsoft Teams meetings linked to Event Sessions. When a session ends, the system pulls attendance reports from the Microsoft Graph API and matches attendees to the people signed up to the session by email address.
Two types of Teams meeting links are supported:
- Legacy meeting links - contain the organiser's details in the link. For these, the LXP reads the organiser from the link, so the Meeting Owner Email is not needed.
- Short meeting links - do not contain the organiser's details. These require the Meeting Owner Email field to be set on the session, so the LXP can look up the organiser in your Microsoft 365 directory.
Step 1: Create an Azure Application
- Log in to the Azure Portal
- Navigate to App registrations
- Click New registration
- Give the application a name (e.g. "LXP Teams Integration") and click Register.
Step 2: Create a Client Secret
- In the sidebar, click Manage, then select Certificates & secrets
- Click New client secret and add a description
- Important: Copy and safely store the client secret value immediately - it will not be shown again
Step 3: Copy your credentials
- Go to the Overview page of your app registration
- Copy the Application (client) ID
- Copy the Directory (tenant) ID
- Use the client secret you saved in Step 2
Step 4: Configure API Permissions
- In the sidebar, click API permissions
- Click Add a permission > Microsoft Graph > Application permissions
- Add the following permissions
| Permission | Purpose |
| OnlineMeetings.Read.All | Read online meeting details |
| OnlineMeetingArtifact.Read.All | Read online meeting artifacts (attendance reports) |
| User.Read.All | Read all users' full profiles (required for short meeting links, and when the LXP creates Teams meetings for you) |
| OnlineMeetings.ReadWrite.All | Create online meetings (only required if you want the LXP to create, update and cancel Teams meetings for your sessions automatically) |
Important: After adding permissions, click Grant admin consent to activate them.
Why is User.Read.All needed?
Some Teams meeting links (short links) do not contain the organiser's details. For these links, the LXP looks up the organiser in your Microsoft 365 directory from the Meeting Owner Email, which needs User.Read.All. The LXP also needs it to create Teams meetings for you.
Step 5: Application Access Policy
The LXP reads your Teams meetings and their attendance reports with application permissions. Microsoft allows this only when your Microsoft 365 admin sets up an application access policy in Microsoft PowerShell. Grant the policy to every person who organises meetings that the LXP tracks, and to the Meeting Organiser Email account if the LXP creates meetings for you. You can also grant it to your whole tenant. Changes can take up to 30 minutes to take effect.
See the Microsoft documentation on Application Access Policies for details.
Step 6: Configure the Service in the LXP
- Contact Confirm Support to enable the Microsoft 365 Integration Service
Step 7: Send your details to Confirm Support
- Send the following details:
- Tenant ID - The Directory (Tenant) ID from your Azure AD app registration
- Application (Client) ID - The Application (Client) ID from your Azure AD app registration
- Client Secret - The client secret generated for your Azure AD application. Share the client secret securely, in the way Confirm Support tells you. Do not send it in a plain email or a support ticket comment.
- Meeting Organiser Email - the Microsoft 365 account that automatically created meetings are organised under. This must be an active user account in your Microsoft 365 tenant that can use Microsoft Teams, and it must be covered by the application access policy in Step 5.
Note: The Meeting Organiser Email in this step is set once and is required. It is different from the Meeting Owner Email, which you set on a session for short meeting links.
Note: This is the end of the One-Time setup. The next steps are for each Event Session.
Set up for each meeting
When creating or editing an Event Session, set up the following:
Step 1 - Session Type
Set the Session Type to Online or Hybrid to allow for a meeting URL.
Step 2 - Add Link
Paste the Teams meeting link into Add Link. You can copy it from the meeting invite or from the meeting in Teams. The LXP detects it as a Teams meeting automatically.
Step 3 - Meeting Owner Email (needed for short meeting links)
If your Teams meeting link does not contain the organiser's details, enter the email address of the person who organised the Teams meeting. Microsoft gives attendance reports only to the meeting organiser, so use the organiser's email, not an attendee's. This person must be a user in your Microsoft 365 tenant and must be covered by the application access policy (Step 5 of the setup above). If the link already contains the organiser's details, the LXP reads the organiser from the link and ignores this field.
If you tick "Auto-create Microsoft Teams meeting", you do not need to enter a Meeting Owner Email. The LXP creates the meeting and turns this field off.
The meeting owner does not need to attend the meeting for the LXP to request the attendance report.
How Attendance Tracking works
Automatic Flow
- An admin creates an Event Schedule with Sessions linked to Teams meetings
- Learners sign up for the schedule
- The Teams meeting takes place
- Every 15 minutes, the system checks sessions that ended in the last 24 hours and syncs their attendance automatically. It stops for a session once Microsoft provides the actual meeting end time. After 24 hours, only a manual refresh works
- The job authenticates with Microsoft Graph using the stored credentials
- It resolves the meeting organiser:
- Primary: Reads the organiser's ID from the meeting link, when the link contains it
- Fallback: If the link does not contain the organiser's details, looks up the organiser in your Microsoft 365 directory from the Meeting Owner Email
- It finds the Teams meeting from its link, under the organiser's account
- It fetches attendance reports from the Graph API for the meeting
- It matches attendees to signed-up learners by email address (case-insensitive)
- Attendance status is calculated and saved to each learner's signup record
Manual Refresh
Admins can also manually trigger an attendance refresh from the Session's Manage Attendance page by clicking Refresh Attendance. This is useful if:
- The automatic sync hasn't run yet
- There was an error during the automatic sync
After each sync, you must wait 5 minutes before you can refresh again, to avoid rate limiting. This includes automatic syncs and refreshes that update 0 records.
Note: Microsoft creates the attendance report only after the meeting ends, so a refresh during the meeting usually updates 0 records.
Attendance status calculation
Attendance status is calculated based on the percentage of the meeting the learner attended:
| Status | Condition |
| Fully Attended | Attended >= 10% of meeting duration |
| Partially Attended | Attended > 0% but < 10% of meeting duration |
| No Show | The learner is signed up but is not in the attendance report. This applies to online sessions only, and only when the report has attendees. Hybrid sessions are not marked No Show automatically |
The system uses "grace windows" to handle timing differences - if a meeting starts early or runs late compared to the scheduled times, learners are not penalised for joining at the scheduled start time.
Attendance matching
Attendees are matched to signed-up learners by comparing the email address from the Teams attendance report with the learner's email in the LXP (case-insensitive match). If a match cannot be found, the attendance record is logged but not applied.
Troubleshooting
No attendance data returned
- Check the meeting link - ensure it's a valid Teams meeting link
- Check Meeting Owner Email - required for short meeting links. Must be the meeting organiser, and a valid user in your Microsoft 365 tenant
- Check API permissions - ensure the permissions in Step 4 are granted with admin consent. Attendance tracking needs OnlineMeetings.Read.All and OnlineMeetingArtifact.Read.All, plus User.Read.All for short meeting links. If the LXP creates meetings for you, it also needs OnlineMeetings.ReadWrite.All and User.Read.All
- Check the application access policy (Step 5). It is required for every Teams meeting the LXP tracks, and it must cover that meeting's organiser. Changes can take up to 30 minutes to take effect
- Timing - attendance reports may not be available immediately after a meeting ends. Wait a few minutes and try refreshing. After a sync, you can refresh again after 5 minutes
- Check that attendance reports are turned on in your Teams meeting policy and in the meeting options
Refresh Attendance shows "Attendance synced. Updated 0 records."
The LXP does not show an error when Microsoft returns no attendance data. If you expected data, check that:
- The meeting has ended (Microsoft creates the attendance report only after the meeting ends)
- The application access policy covers the meeting organiser (Step 5)
- The permissions have admin consent
- The Meeting Owner Email is the meeting organiser (short links only)
- Attendance reports are turned on for the meeting
You can refresh again after 5 minutes.
Another possible cause is that the LXP could not find the meeting organiser. This happens when the meeting link does not contain the organiser's details (a short link), and either:
- The Meeting Owner Email is not set, OR
- The LXP could not find that email in your Microsoft 365 directory (check the User.Read.All permission)
Connection test fails
- Verify the Tenant ID, Client ID, and Client Secret are correct
- Ensure the client secret has not expired
- The connection test checks only the Tenant ID, Client ID and Client Secret. It does not check permissions or admin consent, so it can pass when these are missing. If the test passes but attendance does not update, check the permissions and admin consent (see "No attendance data returned")
Attendance shows for some users but not others
- Attendees are matched by email address. If a learner's LXP email differs from their Teams email, no match will be made. The same applies when more than one LXP account has the same email
- Microsoft leaves some people out of the attendance report, so the LXP cannot see them: attendees who turned off "Identify me in attendance reports", people who were not let in from the lobby, and view-only attendees. You can change their status manually on Manage Attendance
- The learner must be booked on the session (registered or approved). Learners on the waitlist, or whose request waits for approval, are not marked
Manage session attendance
Once registered, attendees will be marked as ‘Fully Attended’, ‘Partially Attended’ or a ‘No Show’ depending on their participation in the Teams meeting. If the Session Type is set to ‘Hybrid’ then administrators can mark in person attendees manually or in bulk. You can also override the automatically generated attendance status if required. Attendance is stored and shown on Manage Attendance; Refresh Attendance re-pulls the latest from Teams, which only returns data once Microsoft has finished the post-meeting report.