getDirectRoutingCalls return ServiceUnavailable

Shai Nadav 96 Reputation points
2021-06-07T20:31:44.98+00:00

I am using 2 Microsoft graph API's

  1. getPstnCalls
  2. getDirectRoutingCalls

I have tested them on my organization, and they are working fine

when I switch to the customer organization getPstnCalls is working fine but getDirectRoutingCalls fail with error ServiceUnavailable

{"error":{"code":"UnknownError","message":"{ \"Error\": 503 }",
"innerError":{"date":"2021-06-07T20:01:20","request-id":
"c0fc172a-7c8e-4bce-8a1e-2b34775478bd","client-request-id":
"c0fc172a-7c8e-4bce-8a1e-2b34775478bd"}}}

Called URl is https://graph.microsoft.com/beta/communications/callRecords/getDirectRoutingCalls(fromDateTime=2021-03-11,toDateTime=2021-06-08)

how can I troubleshoot it?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,585 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.
2,845 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2021-06-09T08:50:07.73+00:00
    • Check in which role you're testing the above call as part of customer org? If there is any differences, make sure you're part of the specific role so that you can perform the above API call or not.
    • Also to isolate the issue, see if you can repro the issue using graph explorer or POSTMAN for the above tenant.
    0 comments No comments