I am currently working on getting maillist with orderby = receivedDateTime asc and search = 'keyword. I tested,
https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages?$orderby=receivedDateTime asc&$search=keyword
but I got response :
"error": { "code": "SearchWithOrderBy", "message": "The query parameter '$orderBy' is not supported with '$search'." }
I working on changing EWS api to Graph api rn. I think this is critical issue. Anyone know better to solve this?
https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages?$orderby=receivedDateTime asc&$search=keyword