Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get all Teams question and answer (Q&A) conversation messages in a tenant. This function returns a snapshot of all Q&A activity in JSON format.
The export includes:
- The original question or discussion text
- The user who posted the message
- All replies and responders
- Vote counts
- Moderation status (pending or dismissed)
- Private replies
- The meeting ID and organizer ID that are used for mapping to meeting metadata.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ❌ | ❌ | ❌ |
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | EngagementMeetingConversation.Read.All | Not available. |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | EngagementMeetingConversation.Read.All | Not available. |
Note
Currently, this API doesn't support delegated permissions.
HTTP request
GET /communications/getAllOnlineMeetingMessages
Optional query parameters
This method supports the $expand
OData query parameter to help customize the response.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Request body
Don't supply a request body for this method.
Response
If successful, this function returns a 200 OK
response code and a collection of engagementConversationMessage objects in the response body.
Examples
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/communications/getAllOnlineMeetingMessages?$expand=conversation
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#communications/getAllOnlineMeetingMessages",
"@odata.nextLink": "/communications/getAllOnlineMeetingMessages?$expand=conversation&skipToken=eyADASSDSA",
"value": [
{
"@odata.type": "#microsoft.graph.engagementConversationDiscussionMessage",
"id": "eyJfdHlwZSI6IlRocmVhZCIsImlkIjoiMzM0OTcwNzMxNTEyNjI3MiJ9",
"createdDateTime": "2025-05-20T06:35:58.936313Z",
"lastModifiedDateTime": "2025-05-20T06:35:58.936313Z",
"replyToId": "eyJjh1wwZSI6IlRocmVhZCIsImlkIjxyzqzM0OTcwNzMxNTEyNjI2q1fw",
"from": {
"user": {
"displayName": "John Doe",
"id": "611b1c2b-8935-4068-8445-2f73aec6cc3f"
}
},
"body": {
"content": "This is a sample message body.",
"contentType": "html"
},
"mentions": [],
"attachments": [],
"conversation": {
"@odata.type": "#microsoft.graph.onlineMeetingEngagementConversation",
"id": "eyJjh1wwZSI6IlRocmVhZCIsImlkIjxyzqzM0OTcwNzMxNTEyNjI2q1fw7",
"starterId": "eyJjh1wwZSI6IlRocmVhZCIsImlkIjxyzqzM0OTcwNzMxNTEyNjI2q1fw",
"moderationState": "published",
"upvoteCount": 5,
"onlineMeetingId": "MSoxMjczYTAxNi0yMDFkRLTmOTUtODA5My0xYjdmOTliM2VkZWIqMCoqMTk6bWVldGluZ19aR1F3WTJZNE9XTXROekppWlMwME1XWTRMVGc0TWpBdE1BBXdOV1kzWlRsak9UTXlAdGhyZWFkLnYy",
"organizer": {
"user": {
"displayName": "Meeting Organizer",
"id": "3fe108bf-1d01-43d6-a7f4-b2b697f02c90"
}
}
}
}
]
}