Forum Discussion

dafo43's avatar
dafo43
Copper Contributor
Apr 29, 2020

Call records Powershell sample

Hi,

 

I'm trying to get a list of all Teams calls for the previous day. I'm following the instructions from TechNet - https://docs.microsoft.com/en-us/graph/api/resources/callrecords-api-overview?view=graph-rest-beta and have the applications setup correctly but don't know what call to make, in the documentation all it mentions is:

GET https://graph.microsoft.com/beta/communications/callRecords/{id}

 

Are there any samples of getting all calls for a particular date?

    • dafo43's avatar
      dafo43
      Copper Contributor

      Trinetra-MSFTThanks, though it doesn't really help me, I'm not a developer so I only know Powershell. From what I was reading I need to get a subscription to get all the calls back for the previous day, which would give the ID. But again there is no sample of how to do this in Powershell.

       

      I have the Azure application setup correctly, it's just a case of making the correct Graph calls.

      • Trinetra-MSFT's avatar
        Trinetra-MSFT
        Icon for Microsoft rankMicrosoft

        dafo43 , Yes The API which I've mentioned is the correct graph API. There is no power shell sample available for it. But if you know power shell you can call the API as in other language.

Share

Resources