I have a flow in Power Automate that is triggered by a user in Power Apps.
This flow should create an email in the draft folder of the Administrative Responsible (where the flow is connected). I am using the "Send an HTTP request" action (currently using Office 365 and Office 365 Groups connectors).
What is happening is that the draft email is being saved in the draft folder of the Outlook account of the person who clicks the button, but it should be saved in the draft folder of the person connected to the flow.
How do I fix this?
I try with:
- https://graph.microsoft.com/v1.0/me/messages
- https://graph.microsoft.com/v1.0/me/mailFolders/Drafts/messages
- https://graph.microsoft.com/v1.0/users/[user email]/messages
- https://graph.microsoft.com/v1.0/users/[user email]/mailFolders/Drafts/messages
basically, power automate assumes "me" as the user that press the button.
When i use "users" it doesn't work.
Does anyone know how to fix?
Thank you very much,