Forum Discussion

danny_meier's avatar
danny_meier
Copper Contributor
Feb 15, 2023

Personal call log of the past 12 month (GraphAPI)

Hi,

 

Inside Teams, I can see a non-exportable call log for the past ~2 months.

I like to fetch my call log for the last 12 month in a processable format.

 

I've seen an endpoint in Graph API which is kinda useless for this purpose:
https://graph.microsoft.com/v1.0/communications/callRecords/getDirectRoutingCalls as this call requires querying for each individual call with a call-id that is unknown. Despite that, who is willing to queries thousands of times to have a simple history of your calls receiver and duration.

 

Is there a way within teams to have additional statistics? Or another way, despite Graph API? Until today, I'm still struggling with the concept and usefulness of the Graph API. Basically, it cannot serve any requirement - not even the simplest - to fetch data from the Microsoft universe.

On top of it. The unbelievable complicated permission handling. Even I'm the owner of data (such as emails, teams messages, ...) I need to have enterprise global-wide permissions assigned, which allows me to do much more as I need (and never get from the enterprise of course)

 

Maybe someone has an idea how to solve my request.

  • Hi,

    Yes for this you would have to see if you can run the PowerShell Commands specific for the Call Logs you need and export the same via PowerShell. Microsoft doesn't store the call log data for a longer period of time hence this is a major issue.

    From the Graph standpoint you might pull the report every month and store is in a storage for ensuring that the data is available for 12months or 24months as per your requirements.

    With Regards,
    Satish U
  • Hi,

    Yes for this you would have to see if you can run the PowerShell Commands specific for the Call Logs you need and export the same via PowerShell. Microsoft doesn't store the call log data for a longer period of time hence this is a major issue.

    From the Graph standpoint you might pull the report every month and store is in a storage for ensuring that the data is available for 12months or 24months as per your requirements.

    With Regards,
    Satish U

Resources