Unsupported Segment Type returned on GraphAPI callRecords

Peter Hawes 1 Reputation point
2020-12-08T16:38:04.887+00:00

I have an active GraphAPI subscription to /communications/callRecords which is successfully returning the callid for calls. When attempting to get the call details using the following request:

https://graph.microsoft.com/beta/communications/callRecords/45578cfe-8329-48b7-ba6b-54a627b00bf4?$expand=sessions($expand=segments)

I receive the following error:

{
    "error": {
        "code": "BadRequest",
        "message": "Unsupported segment type. ODataQuery: /communications/callRecords/45578cfe-8329-48b7-ba6b-54a627b00bf4",
        "innerError": {
            "date": "2020-11-24T12:34:11",
            "request-id": "277b4fa1-11a5-4922-94d7-83fec3a57572",
            "client-request-id": "277b4fa1-11a5-4922-94d7-83fec3a57572"
        }
    }
}

I get the same error if I change the GraphAPI call to /v1.0/. I am sure this worked previously but can't seem to work out what may have changed.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,666 questions
{count} votes