Exception thrown for filtering on singleValueExtendedProperties

Gauri Prabhu 0 Reputation points
2023-11-17T11:13:25.2633333+00:00

There is a group created using Microsoft Graph api. Multiple threads are associated to the group. I want to add filter on the posts messages to filter out messages. As per the documentation provided we can filter on singleValueExtendedProperties on Group-posts messages using below instance.

GET /groups/{id}/threads/{id}/posts?$filter=singleValueExtendedProperties/Any(ep: ep/id eq '{id_value}' and ep/value eq '{property_value}')

Although when I tried to use graph api application replied with 501 Not Implemented error as shown below.

{
    "error": {
        "code": "FilteringOnConversations",
        "message": "$filter is not supported on this collection."
    }
}
"request-id": "571a4f62-8513-481c-9fdf-80ca5ae65921"

Could you please confirm the reason for this and/or any solution to fix this or any workaround this behaviour?

Kind regards,

Gauri Prabhu

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

Your answer

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