Forum Discussion
noam-shabat
Sep 21, 2021Copper Contributor
Updating incoming message body
Hi. We're building an enterprise product that augments incoming messages. In order to do so, we need to be able to update the incoming message. This can happen asynchronously after the message is ...
noam-shabat
Sep 23, 2021Copper Contributor
Victor_Ivanidze Thanks for your reply.
We're actually more interested in exchange online. Do you know if there's a similar solution to transport agents in exchange online?
Victor_Ivanidze
Sep 24, 2021Bronze Contributor
You can use a Power Automate flow.
- noam-shabatSep 24, 2021Copper ContributorUnfortunately power automate flow allows only the operations ‘move’, ‘delete’, ‘mark as unread’ on exchange emails, and doesn’t allow changing mail content
- Victor_IvanidzeSep 24, 2021Bronze ContributorNo, if fact you can do much more if you will use Power Automate in combination with MS GRAPH API.
- noam-shabatSep 24, 2021Copper ContributorMs graph api has an UpdateMessage api. But the documentation states that the ‘body’ property can only be updated when isDraft is true.
I did not find a documented way to update the email body using ms graph api.