I was able to achieve this by doing:
https://graph.microsoft.com/beta/me/chats?$expand=members&$filter=members/any(o: o/microsoft.graph.aadUserConversationMember/userId eq '<user id>')
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I would like to list all chats that I am in that also include a specific user. I know I can do this:
https://graph.microsoft.com/beta/me/chats?$expand=members&$filter=members/any(o: o/displayName eq '<Display Name>')
but to enable a more deterministic search, it would be good to do:
https://graph.microsoft.com/beta/me/chats?$expand=members&$filter=members/any(o: o/userId eq '<AAD user id>')
Japheth
I was able to achieve this by doing:
https://graph.microsoft.com/beta/me/chats?$expand=members&$filter=members/any(o: o/microsoft.graph.aadUserConversationMember/userId eq '<user id>')
Could you please Raise a user voice?