Skip to main content

Teams Call Queue & Auto Attendant Analytics Requirements

Teams call queue and auto attendant analytics need a signed-in Teams service user that has consented to a delegated Microsoft permission. A tenant configured with application credentials only (a client ID and secret with Graph application permissions) receives no call queue or auto attendant data.

This page describes Call Telemetry 0.8.6 behavior.


Requirements​

  • Call Telemetry Appliance 0.8.6 or later
  • Microsoft Teams tenant credentials saved in Settings → Microsoft Teams
  • A Teams service user signed in through the Microsoft Teams OAuth sign-in, as described in Authorize Delegated Service User
  • Delegated consent for https://api.interfaces.records.teams.microsoft.com/user_impersonation on that user's refresh token
  • Voice Apps Analytics or Voice Apps Near-Realtime (Snapshot Polling) enabled in Settings → Microsoft Teams → Reporting & Sync. Both toggles are off by default.

What Depends on Voice Apps Data​

Call Telemetry reads call queue and auto attendant data from Microsoft's Voice Applications Analytics Collector (VAAC) API. Everything listed here is filled from that API.

Dashboard Presets​

These four dashboard presets show no data without it:

PresetData Source
Teams Call Queue LiveNear-real-time queue snapshots (ms_teams_queue_realtime_overview)
Teams Queue SLA & StaffingDaily call queue rollups (ms_teams_call_queue_sla_daily)
Teams Agent PerformanceDaily per-agent call queue statistics (ms_teams_agent_performance_summary)
Teams Auto AttendantNear-real-time auto attendant snapshots (ms_teams_auto_attendant_realtime_overview)

Report Templates​

These report templates are built on voice apps tables:

AreaTemplates
Call queuesms_teams_call_queue_directory, ms_teams_call_queue_historical_summary, ms_teams_call_queue_hourly_summary, ms_teams_call_queue_analytics_daily, ms_teams_call_queue_sla_daily, ms_teams_call_queue_outcomes_daily, ms_teams_call_queue_problem_queues_daily, ms_teams_call_queue_staffing_daily, ms_teams_call_queue_final_state_action_summary, ms_teams_queue_realtime_overview
Agentsms_teams_agent_performance_summary, ms_teams_agent_timeline_hourly_summary
Auto attendantsms_teams_auto_attendant_directory, ms_teams_auto_attendant_historical_summary, ms_teams_auto_attendant_analytics_daily, ms_teams_auto_attendant_realtime_overview
Missed callsms_teams_missed_calls_voicemail (call queue final-state data)

Why Application Credentials Cannot Read It​

Call Telemetry calls the VAAC API at api.interfaces.records.teams.microsoft.com with a delegated access token. It does not use the client credentials (application) flow for this API.

To get that token, Call Telemetry exchanges the stored refresh token of a signed-in Teams service user for the scope https://api.interfaces.records.teams.microsoft.com/user_impersonation. Without a Teams user holding a valid refresh token, there is nothing to exchange and the request is not sent.

The Graph application permissions you grant for the other Teams reports (CallRecords.Read.All, Reports.Read.All, and the rest of the list in Teams Reporting & Analytics) do not substitute for this permission.


ItemDetail
PermissionDelegated https://api.interfaces.records.teams.microsoft.com/user_impersonation
Entra app registration entryVoice Applications Analytics Collector, delegated permission user_impersonation. See step 4 of Microsoft Entra App Setup.
Given byA Teams service user who signs in to Call Telemetry. The consent attaches to that user's refresh token, not to the application credentials.
Service user requirementsSee Application vs. Delegated Accounts for the roles and license the service user needs.

The Teams sign-in does not request this permission by default. The default sign-in requests openid, profile, offline_access, User.Read, Chat.Read, Chat.ReadBasic, and ChatMessage.Read. Call Telemetry requests the voice apps permission separately, from the stored refresh token, when voice apps data syncs or when readiness is checked.

Call Telemetry does not check who gave the consent, so it cannot tell you whether your tenant needs an administrator to approve this permission. Microsoft decides that when the token is requested. If Microsoft refuses the request because consent is missing, Call Telemetry reports Needs delegated consent until a later token request succeeds.


In Settings​

In Settings → Microsoft Teams → Reporting & Sync, the voice apps toggles show a status chip:

ChipMeaning
Requires signed-in Teams userNo Teams service user with a usable refresh token exists. The toggle also shows the banner Requires a signed-in Teams user. Sign in via the OAuth tab.
Needs delegated consentA Teams user is signed in, but Call Telemetry could not confirm delegated consent: it is missing, it was revoked, or readiness could not be verified. Re-authorize the Teams user from the OAuth tab, then validate readiness again.

In Sync Status​

The voice apps sync marks its status as failed and records the error from the token request. No rows are written. Rows synced earlier are not removed by a failed sync, so a tenant that loses consent keeps its old data but receives no new data.

The permissions status API reports the same condition in its delegated block:

consent_statereason
user_unavailableNo delegated Teams user is available
consent_missingDelegated VAAC consent is required
consent_revokedDelegated VAAC consent was revoked
not_configuredMicrosoft Teams delegated VAAC configuration is incomplete
unknownDelegated VAAC readiness could not be verified
readyDelegated VAAC consent is valid

In Dashboards and Reports​

The four dashboard presets and the report templates listed above return no rows. Dashboard tiles show No data available. The tiles do not name the cause, so check Settings → Microsoft Teams → Reporting & Sync first when a voice apps tile is empty.


What Is Not Affected​

These Teams features use application credentials and do not need a delegated Teams user:

  • Call records, PSTN usage, adoption activity, directory, license, and number inventory sync
  • Call quality metrics, which come from call records
  • Teams emergency event collection through the Graph subscription and Azure Event Hubs