Hi @Jay Daniel
To generate a call queue and PSTN report in the Microsoft Teams admin center, follow these steps:
- Sign in to the Microsoft Teams admin center using an administrator account.
- In the left column, select Analytics and Reports.
- In the usage reports page, you can find report options related to call queues and PSTN.
- Set the time range and other parameters for the report, and then click Generate Report.
- The generated report will be displayed on the page, and you can view the details.
If you want to use Microsoft Graph to generate call queue and PSTN reports for Teams, which is beyond the scope of our support, the following suggestions are for reference only:
- Register an app: Register an app in Azure AD and grant it the required permissions, such as Calls.Read.All and CallRecords.Read.All.
- Get an access token: Use the OAuth 2.0 flow to get an access token. You can use the Microsoft Identity platform library to simplify this process.
- Call the Microsoft Graph API:
- Get call records: Use the GET /communications/callRecords endpoint to get call records.
- Get PSTN usage: Use the GET /reports/getPstnCalls endpoint to get PSTN usage reports.
- Process and display the data: Process the acquired data and generate the report format you need.
Ref: https://learn.microsoft.com/en-us/graph/reportroot-concept-overview
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
https://learn.microsoft.com/en-us/graph/teams-messaging-overview
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.