Auto attendant and Call queue historical reports API Access

Tejas Bhorade 0 Reputation points
2024-01-03T06:41:18.28+00:00

Hi

I want to create a report based on call queues.

I'm referring to the documentation below:

https://learn.microsoft.com/en-us/microsoftteams/aa-cq-cqd-historical-reports#v3xx-prerequisites

I have used the Power BI report in this documentation and tried accessing the API.

How I can access https://api.interfaces.records.teams.microsoft.com/Teams.VoiceAnalytics/getanalytics api and what permissions are needed.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,913 questions
Microsoft Teams Phone
Microsoft Teams Phone
Teams Phone enables call-control and Private Branch Exchange (PBX) capabilities in the Microsoft 365 cloud with Microsoft Teams.
134 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 97,386 Reputation points MVP
    2024-01-03T08:17:37.9733333+00:00

    There is no officially supported way to do that. You can "reverse engineer" what Power BI is doing and fetch/curate the data yourself, but there are some drawbacks with such approach. First, as mentioned already, it's not in any way supported by Microsoft. Second, it only supports user context, so you're stuck with interactive authentication and limited automation. There is no documentation on the available endpoints and methods, so you have to dig this out of the PowerBI model. And, the data model itself needs to be rebuilt, if you want to get something meaningful.

    Anyway, if you want to try this approach, here's the info you need. Use the built-in "Microsoft PowerQuery For Excel" application with ID a672d62c-fc7b-4e81-a576-e60dc46e951d and RedirectURI of https://preview.powerbi.com/views/oauthredirect.html to obtain an access token. Only user context is supported, and you can use the https://api.interfaces.records.teams.microsoft.com/.default scope.

    0 comments No comments