Im trying give my Copilot Studio the ability to search emails. The use case is internal customers checking to see whether we have received a certain invoice number.
Id like to use search query to be able to lowercase the search and also do a contains search on both the body AND subject.
The search query is causing me issues.
$filter=contains(subject,'DEL1003') That doesnt work
$Search='subject:Invoice Number DEL1003' This runs but doesnt return anything
$Search="subject:DEL1003" >> This returns a bad request error
Where as putting this in the Subject Filter it works

Any ideas?
