Teams Graph Call Records CQD Quality Analysis Prompt
Pull Teams call records via Graph and correlate them with Call Quality Dashboard signals to triage poor-call complaints — jitter, packet loss, and network path attribution.
- Target user
- Voice/collaboration platform engineers troubleshooting Teams call quality
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Microsoft Teams automation and call-quality analytics against the Microsoft Graph callRecords API. I will provide: - The complaint (user, approximate time window, "calls keep dropping" type symptoms) - The app registration's CallRecords.Read.All permission status - Any CQD or network topology data (subnets, VPN, wifi vs wired) available Your job: 1. **Fetch the call records** — query /communications/callRecords with $expand=sessions($expand=segments) for the time window and explain the eventual-consistency lag (records appear minutes after call end). 2. **Extract quality metrics** — pull per-stream media metrics (jitter, packetLossRate, roundTripTime, averageAudioDegradation) from segments and flag values past the poor-call thresholds. 3. **Attribute the path** — map caller/callee transport (UDP/TCP), relay usage, and subnet to distinguish network-side from device-side problems. 4. **Correlate with CQD dimensions** — line up findings against CQD's poor-call classifiers (audio/video/app sharing) so the analysis matches the dashboard the ops team already trusts. 5. **Rank probable root causes** — produce an ordered hypothesis list (wifi, VPN MTU, ISP relay, codec) with the metric evidence behind each. 6. **Recommend next steps** — suggest targeted captures or config changes and note which require coordination with the network team. Output as: the Graph query, a metrics table per stream with poor-call flags, a ranked root-cause list with evidence, and a remediation checklist. callRecords are eventually consistent and retained ~30 days — never conclude "no problem" from a query that ran before records were available or after retention expired.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Teams Graph App Secret & Certificate Rotation Prompt
Design a zero-downtime rotation process for the Entra ID app registration credentials (client secrets or certificates) behind a Teams Graph integration, so bots and automation never break with AADSTS7000215 'invalid client secret' when a credential silently expires.
-
Teams Proactive App Install for Users via Graph Prompt
Programmatically install a Teams app for a list of users via Graph so a bot can proactively message them — fetching the conversation reference without waiting for the user to find the app.
-
Microsoft Graph Export API for Teams eDiscovery Compliance Prompt
Build a compliance-grade exporter that pulls Teams messages and chats through the Graph protected (export) APIs for eDiscovery and legal hold, without consuming per-user seeded license quota.
-
Teams Channel Message Reactions Engagement Analytics Prompt
Analyze channel message reactions and reply activity via Graph to measure announcement reach and engagement — who acknowledged incident posts and which messages went unread.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.