Officedocs-skypeforbusiness: How to query PSTN usage report using PowerBI or Powershell

Created on 28 Oct 2019  ·  11Comments  ·  Source: MicrosoftDocs/OfficeDocs-SkypeForBusiness

Is this report accessible via PowerBI or Powershell so we can automate the delivery to managers and stakeholders without the need of going into the admin console?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most helpful comment

Hello. I think what the community needs is a method to extract the PSTN usage data grammatically, rather than through the console.
What does Microsoft recommend as a way to achieve this, ideally also as a schedule?

All 11 comments

@floydpreyes Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Appreciate this Manuela @scanum :) our data team has informed me that accessing it via API will also work for them, if MS can somehow allow that as well.

@floydpreyes Thank you for raising this issue. I will be looking into it.

thank you @tokyoscarab, please let me know how you go so I can inform our team to start working on it once accessible. We moved from on-premises PSTN to Teams and we used to have an automated reporting solution that tracks individual calls received/made per staff, we need to provide the same functionality to our internal managers as they are requesting for it.

@LanaChin From what I've been able to find, it doesn't appear that Teams PSTN usage reports are accessible through PowerShell or PowerBI as of yet. Can you verify that? Do you know if it's being worked on or will be implemented in the future?

@LanaChin Hi Lana, could you please help with this issue? Thanks!

This is also something of interest to me. Until it was deprecated in 2018, it was possible to extract PSTN usage metrics using the Powershell cmdlet "Get-CsPSTNUsageDetailReport", and from what I've gathered there is no equivalent/replacement.

Pinged PMs.

@floydpreyes, @TokyoScarab, @darque808 - thanks for your question. I reached out to the PM and received confirmation that the PSTN usage report isn't available through PowerShell. And, currently, there's no plans for availability through PowerShell.

Hello. I think what the community needs is a method to extract the PSTN usage data grammatically, rather than through the console.
What does Microsoft recommend as a way to achieve this, ideally also as a schedule?

Beta version of PSTN usage report in Graph is now available - see https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-beta

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bsdmad picture bsdmad  ·  6Comments

hyoshioka0128 picture hyoshioka0128  ·  6Comments

TotallyInformation picture TotallyInformation  ·  5Comments

adyst picture adyst  ·  4Comments

JAK1047 picture JAK1047  ·  6Comments