Share via

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 | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,456 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.

    Was this answer helpful?


Your answer

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