MSBA-232 · Lesson 6 of 12 · 16 min
Reporting and Power BI templates
▶ Video coming soon A video version of this lesson is on the way.
In the middle of November, Ines asked for something that the quality review notebook could not provide: a one-page monthly report on Teams Phone and meeting quality that she could take to Ishbel Abelard, the executive director, alongside the other IT measures. It had to show whether quality was good, whether it was getting better, and what IT was doing about it, without asking Ishbel to understand jitter. This lesson is about turning monitoring data into reporting: the built-in reports in the Teams admin center, the Power BI templates for CQD, and the raw call records for those who need them.
Four ways into the same data
Microsoft offers several ways to reach Teams quality and usage data, each with a different balance of convenience and control.
| Route | What it offers | Customizable? |
|---|---|---|
| Teams admin center | Usage reports and per-user call and meeting views | No; fixed reports |
| CQD portal | Summary and detailed quality reports with drill-down | Yes; custom reports in the portal |
| Power BI query templates | The Quality of Experience Report and related templates | Yes; full Power BI editing |
| Microsoft Graph call records | Raw records of each call and session | Yes; build your own pipeline |
Usage reports in the Teams admin center
Under Analytics & reports, the Teams admin center has usage reports, chosen from a list on the View reports tab. Several matter for calling. The PSTN and SMS usage report lists phone network calls, with a Calling Plans tab that also covers Operator Connect calls and a Direct Routing tab; Lesson 8 uses it for troubleshooting. Reports for blocked PSTN users and for minute pools show who cannot make calls and how much of the shared Calling Plan minutes have been used. A Teams usage report shows overall activity. Reports can be run for 7 or 28 days or, on some tabs, a custom range, and exported. Usage data typically lags by a day or two.
These reports answer "how much" rather than "how well". Ines's report needed both: how many calls the pilot users made, and what share were good.
The Power BI templates
Microsoft provides Power BI query templates for CQD, downloadable from Microsoft Learn. They connect Power BI to CQD data and give ready-made reports that can be changed. The current set is:
| Template | What it covers |
|---|---|
| QER.pbit (Quality of Experience Report) | The main template: search, meeting and user health, media health and reliability, audio, video and sharing health, VPN, top 10 lists, daily trends, usage, user feedback, transport, devices, clients, building data, PSTN, network metrics, events, virtual desktops |
| QER MTR.pbit | Teams Rooms on Windows and Android: overview, network, device health and meeting health |
| QER PS.pbit | Teams Phone, including Direct Routing: SBC overview and details, PSTN overview, users, clients and devices |
| CQD Teams Usage Report.pbit | Teams usage and adoption |
Older templates, such as separate PSTN, help desk, location-enhanced, mobile device, summary and user feedback reports, are no longer maintained; Microsoft recommends the Quality of Experience Report instead. The old auto attendant and call queue template has been replaced by a separate Auto Attendant & Call Queue Historical Report, which Corvallin already planned to use for its queues.
Setting up the templates
The download includes a custom connector file named MicrosoftCallQuality.pqx, which must be installed in Power BI Desktop's custom connectors folder before the templates will work. When a template opens, Power BI asks for sign-in with an account that has CQD access. Each person using the reports needs a Power BI licence as well as CQD permissions.
There is an important limitation for automation. The connector requires interactive sign-in with a user account. Service principals and managed identities are not supported, either for the CQD connection or for refreshing reports in the Power BI service. A report that should refresh on a schedule therefore needs a named account with CQD access, and the team must decide whose account that is and how it is protected. Felix used his own account for the first month, with a note that this would need a better answer before the branches went live.
# Steps recorded in the quality review notebook (not a script)
# 1. Download the CQD Power BI query templates from Microsoft Learn
# 2. Copy MicrosoftCallQuality.pqx to:
# Documents\Power BI Desktop\Custom Connectors
# 3. In Power BI Desktop options, allow the custom connector
# 4. Open QER.pbit and sign in with an account that has CQD access
# 5. Set the date range and building filters, then save as a .pbixChoosing measures for a manager
The hardest part of Ines's request was not technical. It was choosing a handful of measures that a non-specialist could read and that would move when things got better or worse. Felix and Teodor tried several drafts and settled on five.
| Measure | Source | Why it was chosen |
|---|---|---|
| Audio poor stream rate, pilot users, monthly | QER, audio health | The single best summary of voice quality |
| Poor stream rate by place: head office wired, head office Wi-Fi, outside | QER, building data | Shows where problems are |
| Call setup failures per 1,000 calls | QER, reliability | Calls that never connected matter as much as poor ones |
| Share of calls rated 1 or 2 stars by users | QER, user feedback | Keeps the users' voice in the report |
| Open quality actions and their status | Quality review notebook | Shows that IT acts on the numbers |
Teodor's first draft had fourteen charts. Ines sent it back with a sticky note that said "Which three would you look at if you only had a minute?" The final page had one trend line, one bar chart by place, two numbers and a short list of actions.
Microsoft Graph call records
For organizations that want to keep their own history beyond CQD's twelve months, combine quality data with other systems, or build automated alerts, Microsoft Graph provides call records. A call record describes one call or meeting, with sessions and segments for each connection and media stream, including quality measures. Applications can read them with the CallRecords.Read.All application permission and can subscribe to notifications when new records are created. Microsoft notes that field names in Graph may differ from those in CQD, so reports built on Graph and on CQD will not always line up exactly.
# Read one call record with Microsoft Graph PowerShell (illustrative)
# The app registration needs the CallRecords.Read.All application permission
Connect-MgGraph -ClientId $appId -TenantId $tenantId `
-CertificateThumbprint $thumb
$rec = Get-MgCommunicationCallRecord -CallRecordId $callId `
-ExpandProperty "sessions(`$expand=segments)"
$rec | Select-Object Id, Type, StartDateTime, EndDateTime, Modalities
$rec.Sessions | ForEach-Object { $_.Segments.Media.Streams } |
Select-Object StreamDirection, AverageJitter, AveragePacketLossRate,
AverageRoundTripTimeCorvallin did not need its own pipeline yet. Felix wrote the option into the plan for 2027, noting that the monitoring partner that already received Intune logs into a Log Analytics workspace could take call records too, if Ines ever wanted quality data kept longer or combined with other alerts.
Rooms and phones in the reports
The QER MTR template covers Teams Rooms quality and reliability, which matters for the boardrooms. The QER PS template covers Teams Phone, with PSTN overview and user pages for Calling Plans and Operator Connect users and SBC pages for Direct Routing. For the head office pilot, QER PS showed the thirty Calling Plans users, the auto attendant and call queues, and the toll-free number used for caregiver webinars. After January 2027, the same template would show the branches' Operator Connect calls and, through its SBC pages, the satellite office's Direct Routing calls.
Reporting on what users experience
Felix insisted on including users' own ratings in the report. Teams shows the call quality feedback survey after a sample of calls and meetings. Users rate the call from one to five stars and can tick problems such as echo, noise or frozen video. In the QER, the user feedback page shows the ratings by period and their distribution.
Survey responses are a small sample and lean towards unhappy users, so they cannot replace telemetry. But a sudden rise in one- and two-star ratings from one place is an early warning, and quoting a few of the problems users ticked made the report more convincing to Ishbel than any jitter chart.
Privacy in reports
Quality reports can contain personal information: names, IP addresses, the people someone called. Dr. Ostrander-Bey reminded the team that a report about clinical leads' meetings could reveal who met whom. The monthly report for Ines used only aggregated measures by place and group, never names. Detailed reports with names stayed in the CQD portal and the Power BI file, with access limited to the three people who held CQD access, and the Power BI file was stored in the IT team's restricted library rather than in a general site.
The first monthly report
The first report, covering October 19 to November 20, went to Ines on Monday, November 23. The audio poor stream rate for pilot users had fallen from about 4 percent in the first week to under 2 percent by the last two weeks, after the second floor fix and the headset changes. Head office wired streams had been consistently good. Head office Wi-Fi had improved. Outside streams were stable but noticeably worse than inside ones, with most of the poor streams coming from a few home connections. Call setup failures were rare, and most had a known cause. Six users had given one- or two-star ratings, four of them in the first week.
The action list had five items: watch the second floor east until the end of the year, replace two home routers under the equipment allowance, finish QoS on the head office switches, review the client versions report for laptops that were behind, and settle the question of which account would refresh the Power BI report. Ines asked only one question: what the numbers would look like when the branches joined in January. Felix said they would probably get worse before they got better, and that the report would show exactly where.
The admin center reports for daily questions
Not every question needs Power BI. When the reception lead asked how many calls the main line received on the Monday after the port, Teodor answered from the PSTN usage report in two minutes. When Ines asked whether anyone was still blocked from calling after a fraud alert at another organization made the news, the PSTN blocked users report answered it. When the operations director asked how long callers waited in the CQ Scheduling queue, the Auto Attendant & Call Queue Historical Report answered it. Teodor's rule was to start with the built-in report that answers the question directly, and to reach for CQD and its templates only when the question was about quality or needed custom slicing.
Keeping the Power BI file healthy
A Power BI report built on a template needs looking after. Microsoft updates the templates from time to time for new Teams features, and a saved report does not update itself. Felix noted the template version in the report's first page and planned to check Microsoft Learn for a newer version each quarter. The report also depended on the building data: when a subnet was added and the building file not updated, the report's place breakdown quietly put the new subnet's calls under outside. The monthly comparison of the building file with the master subnet list, from Lesson 2, protected the report as much as it protected CQD.
Finally, the report needed a clear owner. Teodor became the owner of the monthly pack, with Felix as backup, and the pack was produced on the first working day of each month from a saved filter rather than built from scratch each time.
Teodor also kept a short glossary on the back of the monthly pack, explaining in one line each what a poor stream rate, a call setup failure and a user rating meant. Ishbel read the glossary once and never needed it again, but she said it was the reason she trusted the numbers on the front.
Common mistakes
MistakeUsing the older CQD Power BI templates because a blog post recommended them.
InsteadUse the maintained Quality of Experience Report templates.
MistakePlanning an unattended refresh with a service principal.
InsteadPlan for a named user account with CQD access, protected appropriately.
MistakeSending managers fourteen charts.
InsteadChoose a few measures that move when quality changes and show the actions taken.
MistakePutting names of users and their call partners in a general report.
InsteadAggregate by place and group; keep detailed data in restricted tools.
Summary and key terms
- Teams admin center usage reports answer how much; CQD and its templates answer how well.
- The maintained templates are QER, QER MTR, QER PS and the CQD Teams Usage Report.
- The templates need the MicrosoftCallQuality.pqx connector, CQD access and a Power BI licence.
- Service principals and managed identities cannot be used for the CQD connector or refresh.
- Graph call records provide raw data for custom pipelines, with CallRecords.Read.All.
- Good management reports use few measures, show places and trends, and list actions.
- Usage report
- A fixed report in the Teams admin center showing activity such as PSTN calls.
- Quality of Experience Report (QER)
- Microsoft's main Power BI template for CQD data.
- Custom connector
- A Power BI extension file that lets Power BI reach a data source such as CQD.
- Call record
- A Microsoft Graph resource describing one call or meeting and its sessions.
- Auto Attendant & Call Queue Historical Report
- A Power BI report on auto attendant and call queue activity.
- Service principal
- An application identity in Microsoft Entra, not usable for the CQD connector.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which tab of the PSTN usage report shows Operator Connect calls?
Show answer
The Calling Plans tab, with the operator named in the Operator column.
Why did the monthly report include users' star ratings?
Show answer
To keep users' own experience in view alongside telemetry.
What did Ines ask after reading the first report?
Show answer
What the numbers would look like when the branches joined in January.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.