Forum Discussion

yabesh's avatar
yabesh
Copper Contributor
Jun 13, 2024

I need to extract or get latest conversation mail with its attachment from graphAPI?

when i am requesting to the azure graphAPI by the below url

f'https://graph.microsoft.com/v1.0/me/mailFolders/{folder}/messages?$top=1&$orderby=receivedDateTime desc'

it is coming the email body html entire conversation message as a whole html. But i need latest conversation either it is a single mail or reply mail and its attachments only , I need. I have tried but the html body giving full conversations as a html content . 

No RepliesBe the first to reply

Resources