Microsoft Teams Auto-Attendance tracking automatically tracks learner attendance on MS Teams webinars (online or hybrid) linked to Event Sessions.
This guide covers delegated mode - "Each user is their own organiser." In this mode the platform does not hold broad, tenant-wide permissions. Instead, each session organiser connects their own Microsoft account once, and attendance is retrieved using that person's account. (An organiser must connect again if the LXP asks them to, for example when their Microsoft sign-in expires.) This suits organisations whose security teams prefer not to grant application-level, tenant-wide access.
(If you want a single nominated service account to organise every meeting instead, use the app-only version of this guide - it uses Application permissions and a Teams application access policy rather than per-user connections.)
The following instructions clarify 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 (needed only if your organisation's consent policy requires administrator approval)
- Each session organiser must have their own Microsoft 365 account and will connect it once inside the platform. The email address of the Microsoft account must be the same as the organiser's LXP account email, or the connection is refused.
Note: delegated mode does not require PowerShell or an Application Access Policy. Those are app-only-mode steps and do not apply here.
One time set up
The LXP fetches attendance data from Microsoft Teams meetings linked to Event Sessions. In delegated mode, after a session ends the system authenticates as the session's organiser (the person who created the session and connected their Microsoft account) and pulls the attendance report for their own meeting from the Microsoft Graph API, then matches attendees to the learners who signed up for the session by email address. The organiser must also own the Teams meeting. Every 15 minutes, the LXP syncs attendance for sessions that ended in the last 24 hours. It stops for a session when Microsoft gives the actual meeting end time. After that, or after 24 hours, use Refresh Attendance.
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: Add a Redirect URI
Delegated mode uses a sign-in (OAuth) flow, so a redirect URI is required.
- In the sidebar, click Authentication
- Click Add a platform → Web
- Enter the callback URL supplied by Confirm Support and click Configure
This URL is specific to your environment. Raise a support request to Confirm Support to receive your environment's redirect URI before completing this step. It is the address Microsoft returns organisers to after they connect.
Step 3: 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 4: 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 3
You send these three values to Confirm Support in Step 6, and they enter them in the LXP for you. The LXP encrypts the Application (client) ID and the client secret before it stores them.
Step 5: Configure API Permissions
- In the sidebar, click API permissions
- Click Add a permission > Microsoft Graph > Delegated permissions
- Add the following permissions
| Permission | Admin Consent Required | Purpose |
| OnlineMeetings.ReadWrite | NO | Find the Teams meeting from its join URL, so that the attendance report can be read |
| Calendars.ReadWrite | NO | Create, update and cancel the calendar event that carries the Teams meeting |
| User.Read | NO | Sign-in; confirm the Microsoft email matches the LXP account |
| offline_access | NO | Refresh token so we can keep pulling attendance without re-prompting |
| OnlineMeetingArtifact.Read.All | NO | Read the attendance report + records after the meeting |
These are Delegated permissions - they only ever access the signed-in organiser's own data, never other users'. This is the key difference from app-only mode, which uses Application permissions.
For clarity and to distinguish from app-only mode:
- OnlineMeetings.Read.All is only for app-only mode. Delegated mode uses OnlineMeetings.ReadWrite.
- OnlineMeetingArtifact.Read.All exists as a Delegated permission and as an Application permission. Delegated mode needs the Delegated one. App-only mode uses the Application one.
- User.Read.All is for app-only mode, not Delegated mode
Important: Admin consent is optional, unless your tenant's consent policy requires administrator approval for apps. If an admin has granted tenant-wide admin consent, organisers do not see a consent screen. Otherwise, each organiser sees the Microsoft consent screen, which lists all five permissions. Either way, each organiser must still click "Connect my Microsoft account" in the LXP.
The connection always requests all five permissions in the table, even if you do not use the auto-create Teams meetings feature.
Also note:
- The Microsoft account that the organiser signs in with must have the same email address as their LXP account.
- When Confirm Support tests the connection, the test does not check these permissions. A successful test shows only that the tenant ID, client ID and secret are valid.
- A missing permission shows only when an organiser connects or when attendance is read. If you change these permissions later, organisers may need to disconnect and connect their Microsoft account again.
Step 6: Send credentials from steps 3-4 to Confirm Support
- Send:
- 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 (please send via a secure channel - this is a live credential)
Step 7: Confirm Support configures the service in the LXP
When Confirm Support has your credentials, they enable the Microsoft 365 Integration service and set the organiser mode to "Each user is their own organiser." When you send your credentials, tell Confirm Support that you want this mode.
Step 8: Each organiser connects their Microsoft account
Once Confirm Support tells you that the integration is live and set to delegated mode:
- Each person who will create Event Sessions signs in to the LXP and clicks "Connect my Microsoft account." The button is on the Event Session form, in the Online Details section. It shows only when the Session Type is Online or Hybrid. The Microsoft sign-in opens in a pop-up window. If your browser blocks it, allow pop-ups for the site and click Connect again.
- If an admin has granted tenant-wide admin consent, organisers do not see a consent screen. Otherwise, each organiser sees the Microsoft consent screen, which lists all five permissions. Either way, each organiser must still click "Connect my Microsoft account" in the LXP. They connect again only if the LXP asks them to reconnect.
- Until an organiser connects, attendance does not sync for their sessions, and the auto-create Teams meeting option is not available. The prompt on the session form mentions only auto-create, but attendance tracking needs the connection too. The LXP does not tell you automatically when attendance cannot sync. Click Refresh Attendance on the session to see the reason.
Important: This mode applies to the whole organisation. Once Confirm Support sets your organisation to delegated mode, every person who creates Event Sessions must connect their own Microsoft account before their sessions will track attendance - connecting one account does not cover colleagues.
Note: This is the end of the One-Time setup. The next steps are per-Event.
Set up for each meeting
When creating or editing an Event Session ensure you setup 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 URL. The system automatically detects it as a Teams meeting.
Step 3 - Organiser (important difference from app-only mode)
In delegated mode you do not need to complete the optional Meeting Owner Email field - the system uses the connected account of the person who creates the session. Ignore the help text on that field that says it is required for short Teams URLs; in delegated mode the field is not used. Always paste the full Teams join link, copied from the Teams meeting invitation. Therefore:
- The session must be created by an organiser who has connected their Microsoft account (Step 8 above).
- The Teams meeting must be organised/owned by that same person. If the meeting was created by someone else, attendance will not sync. You may see an error, or you may see "Attendance synced. Updated 0 records." with no error.
In short: the session creator, the connected Microsoft account, and the Teams meeting organiser must all be the same person. The Microsoft account must use the same email address as the LXP account.
Every 15 minutes, the LXP syncs attendance for sessions that ended in the last 24 hours. It stops for a session when Microsoft gives the actual meeting end time. After that, or after 24 hours, for example if an organiser connects late, click Refresh Attendance on the session.
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. It stops for a session when Microsoft gives the actual meeting end time. After that, or after 24 hours, use Refresh Attendance.
- The job identifies the session's organiser (its author) and loads that person's stored Microsoft connection, refreshing the access token automatically if needed
- It fetches the attendance report for the organiser's own meeting from Microsoft Graph
- 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
- You want early data while the session is in progress. Note: on an online session, learners who have not joined yet can be marked No Show, and the sync will not change that later
- There was an error during the automatic sync
There is a cooldown of 5 minutes after each completed sync, including the automatic sync, so you may need to wait before you can refresh again.
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 (fixed threshold) |
| Partially Attended | Attended > 0% but < 10% of meeting duration |
| No Show | A learner who signed up for an online session is missing from an attendance report that contains attendees. Hybrid sessions are never marked No Show automatically, and an empty report changes no status |
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.
A sync never changes a status that is already Fully Attended, Approved Absence or No Show, and a Partially Attended status can only change to Fully Attended. If a status is wrong, correct it by hand.
Attendance matching
Attendees are matched to learners who signed up for the session by comparing the email address from the Teams attendance report with the learner's email in the LXP (case-insensitive match). Only learners whose sign-up is booked (registered or approved) are matched, and an attendee with no email address in the report (for example a guest) cannot be matched. If a match cannot be found, the attendee is skipped. Admins do not see a list of skipped attendees.
Trouble shooting
No attendance data returned
- Check the meeting URL - it must be the full Teams join link for the meeting, copied from the Teams meeting invitation
- Confirm the session creator has connected their Microsoft account (Step 8)
- Confirm the Teams meeting was organised by that same person
- Check API permissions - ensure the delegated permissions are granted (and admin consent applied if your tenant requires it)
- Timing - attendance reports may not be available immediately after a meeting ends. Wait a few minutes and try refreshing. After a sync, wait 5 minutes before you refresh again; the automatic sync also starts this wait, and the button shows how many minutes remain
"The session organiser must connect their Microsoft account before attendance can be synced."
The person who created the session has not yet connected. They must sign in and click "Connect my Microsoft account." They should connect even if they do not use auto-create: the prompt on the session form mentions only auto-create, but attendance tracking needs the connection too. After they connect, they should click Refresh Attendance on any session that has already ended.
"Attendance can't be synced automatically for this meeting. Please import attendance manually." (organiser mismatch)
Microsoft refused the LXP access to the meeting's attendance report. Check that the person who created the session is the organiser of the Teams meeting, and check the API permissions (see above). The connected organiser must be the actual owner of the Teams meeting. If the meeting belongs to someone else, you may instead see "Attendance synced. Updated 0 records." with no error.
"The session organiser must reconnect their Microsoft account before attendance can be synced."
The organiser's connection has expired. In the Event Session form, the message "Your Microsoft session has expired. Reconnect to continue auto-creating meetings." is shown. They should click "Reconnect" to reconnect, even if they do not use auto-create, and then click Refresh Attendance. If the form shows "Connected as ..." and no "Reconnect" button, they should click "Disconnect" and then connect again. In the meantime, attendance can be imported manually.
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, or if two LXP accounts share the same email, no match will be made
- The learner must be booked on the session (registered or approved). Learners on the waitlist, or with a request that is waiting for approval, are not marked
Manage session attendance
Learners who signed up will be marked as ‘Fully Attended’, ‘Partially Attended’ or ‘No Show’ depending on their participation in the webinar. A learner counts as ‘Fully Attended’ when they attend 10% or more of the meeting time, and ‘Partially Attended’ when they attend for some time but less than 10%.
On a ‘Hybrid’ session, learners are not marked ‘No Show’ automatically, so administrators mark in-person attendees manually or in bulk. Manual and bulk marking are available for every session type once the session has started, and you can use them to override the automatically generated status. A later sync (automatic or Refresh Attendance) can change a manual ‘Partially Attended’ to ‘Fully Attended’, but it never changes ‘Fully Attended’, ‘No Show’ or ‘Approved Absence’.
Attendance is stored and shown on Manage Attendance. Every 15 minutes, the LXP syncs attendance for sessions that ended in the last 24 hours, and it stops for a session when Microsoft gives the actual meeting end time. If the automatic sync fails, you see the reason only when you click Refresh Attendance. Refresh Attendance re-pulls the latest data from Teams. Teams only returns data once Microsoft has finished the post-meeting report.