UnknownError when i am trying to get a call (Microsoft Graph API)

Petros Karaoglanis 1 Reputation point
2021-02-10T13:45:25.127+00:00

I am trying to get the subject (ex. Maths 1) of an online TEAMS meeting via Microsoft Graph API.

When i send a request to https://graph.microsoft.com/v1.0/communications/callRecords/8f4477a7-f5b2-40ed-a165-95519825c9cg in the response there is no value for the subject of the meeting.

So my next move is to send a request to https://graph.microsoft.com/v1.0/communications/calls/8f4477a7-f5b2-40ed-a165-95519825c9cg because the Graph API documentation has the property 'subject' in the response. When i send this request i get this response:

{  
"error": {  
    "code": "UnknownError",  
    "message": "",  
    "innerError": {  
        "date": "2021-02-10T12:32:19",  
        "request-id": "9a81a114-8a58-457b-929v-390bda79669g",  
        "client-request-id": "9a81a114-8a58-457b-929a-490bda79669g"  
    }  
}  
}  

with a response status code : 500 Interval Server Error from the Graph API.

I have tried this request with different meeting ids but the result is the same.

My API permissions are these:
66535-capture.png

I would appreciate it if I had a solution to my problem or some other way to find the subject of the meeting.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,417 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Diana Wanjuhi 1,376 Reputation points
    2021-02-18T21:53:57.9+00:00

    To get the subject of an online meeting, kindly send a GET request to

    https://graph.microsoft.com/v1.0/me/onlineMeetings/{meetingId}

    This returns an onlineMeeting object that contains the subject. Please see documentation here: https://learn.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http

    0 comments No comments