Share via

How to send an EMail using Graph API which includes the Approval/Decline options?

Thomas Reisenhofer 0 Reputation points
2024-11-25T14:17:03.0533333+00:00

Hello!

I am currently trying to move my logic apps, which automatically send me emails, from using the Office 365 connector, in combination with a user account, to GraphAPI.

I have made this possible using a Webhook in combination with a SharedMailbox and I am currently able to send me emails.

However, I do have a few cases where I not only need to send me an email, I also need to provide me with the option to approve / decline something within the message.

This is perfectly possible using the "Send approval email" option from the Office 365 connector, however I want to avoid using this since it requires a user account.

Until now, I am unfortunately not able to find a solution on how to provide me with those buttons within the email and furthermore work with the selected option in my logic app when I only want to use the GraphAPI.

Did anyone ever face a similar issues and has some suggestions for me?

I did find this post: https://learn.microsoft.com/en-us/answers/questions/1149759/send-approval-email-action-through-graph-api
However for me that does not seem to solve the pre-requisit that I do not need an account, or maybe I get it wrong?

Thanks & Kind regards!

Microsoft Security | Microsoft Graph

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.