Graph API Error when searching messages using "participants"

Jake S 0 Reputation points
2025-05-01T16:08:12.6333333+00:00

I am using the graph api and graph api explorer to query for emails like this:

https://graph.microsoft.com/v1.0/me/messages?$search="participants:foo.com"

Participants is defined here: https://learn.microsoft.com/en-us/graph/search-query-parameter?tabs=http#using-search-on-message-collections

However when doing so I am getting a 500 error:

{
	"error": {
		"code": "ErrorInternalServerError",
		"message": "An internal server error occurred. The operation failed., Unrecognized filter of type Microsoft.Exchange.Data.OrFilter"
	}
}

My search works fine if a change from participants to from.

500 error seems like a graph api bug to me...

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,541 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.