Posting to https://graph.microsoft.com/v1.0/communications/callRecords/{id} is giving a 404 error

Matt Ringsell 25 Reputation points
2024-05-22T18:32:01.4166667+00:00

When I am running https://graph.microsoft.com/v1.0/communications/callRecords/{id} it gives a 404 error for all call ID's after 22/05/2024 13:25:24 (BST). If I run the same on call ID's before this time I get no errors.

Invoke-RestMethod : The remote server returned an error: (404) Not Found.

  • $resp = Invoke-RestMethod -Method get -Uri $url -ContentType "applic ...
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,580 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,914 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,341 Reputation points
    2024-05-24T09:22:26.2833333+00:00

    Hi @Matt Ringsell

    Call records are only kept for 30 days, if your call records are older than 30 days, then it will return a 404 response.

    User's image

    If your call records are up to date but you are still receiving a 404 error, this may be an unknown error. I recommend you report this error to MS Graph or open a support ticket.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.