I'm trying to use multiple search parameters, but every time I test it out in the Graph Explorer it seems to ignore the search parameters completely. Only if I have one search parameter does it work for that specific search, but I need to pull emails that have attachments and were received yesterday.
This is what I've been trying to get to work:
https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages?$search="hasAttachments:true" AND "received:yesterday"&$expand=attachments
What is the proper format to search for emails with attachments and received yesterday?