Forum Discussion

lt_xx's avatar
lt_xx
Copper Contributor
Jan 19, 2024

Microsoft Graph $filter complex collection not working

Hi, 

when I try to filter the "toRecipients" list using $filter, I receive this error: "The query filter contains one or more invalid nodes." The syntax I am using for the search is as follows: $filter=toRecipients/any(r:r/emailAddress/address eq 'email address removed for privacy reasons')

 

What am I doing wrong?

 

Thx

3 Replies

  • Nothing, this is simply not supported. You cannot filter on this property, you can only search for messages by it ($search="to:email address removed for privacy reasons")
    • lt_xx's avatar
      lt_xx
      Copper Contributor

      VasilMichev,

      ok, thx.

       

      However, I need to filter for a specific recipient within a certain date range.

      How can I do that?

Resources