Outlook api $search not returning immutable id

371 views Asked by At

I.am using microsoft graph to fetch mails. There are two ways to filter messages one is using $filter another one is using $search. My problem is I have listed mail accordingly and store thier id so i can download them. But if i move my mails for e.g. from draft to sent items i am not able to fetch that mail while download. For that in request header i pass Prefer as key and value idType=immutableId by doing this the itemid will not change even if i move them to another folder but this solution is not working if i am listing mail using $search,........ Any help is appreciable....

1

There are 1 answers

0
Shiva Keshav Varma On

As of now you cannot search the immutable id of the messages using the $search, this is not implemented yet. However you can raise a uservoice for it in the Microsoft Graph Feedback Forum.