web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send HTTP request as user
Power Automate
Suggested Answer

Send HTTP request as user

(1) ShareShare
ReportReport
Posted on by 6
Hello, 
 
I have created a cloud flow that is triggered by a modification of a specific field of a dataverse record. 
The flow creates a draft mail, containing details of the dataverse record that has been modified. 
 
When I send the POST request with URI https://graph.microsoft.com/v1.0/me/messages, 
the draft is created in my mailbox, even if the flow is triggered by another user. 
 
The draft should be created in the mailbox of the user that triggers the flow. 
However, when I send the request with URI  https://graph.microsoft.com/v1.0/users/aaaaa-651186-uydyugdg/messages, 
I get an error saying that aaaaa-651186-uydyugdg is not a valid user. 
I obtain the hash from the trigger body.
 
This happens even if the user-code (or hash) is me. 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi,
     
    Just curious, why not use Send Email V2?
     
    Anyway, the issue will be (even with V2 above) that its going to do it by default by the owner of the connection, aka you.
     
    Problem is you essentially want to "send on behalf of a person" because even the Send Email V2 will let you set the From
    property, it only works if you have permission (or whomever the connection belongs too) to see as those people.
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at
    Hi
     
    Could you post a screenshot of the draft email step of your flow?
     
    Thanks
  • MaartenVanhulst Profile Picture
    6 on at
    Here's a screenshot of the step to create the draft mail, using a HTTP request.
    It's a user requirement to generate a draft instead of send the mail directly, as a matter of keeping a human in the loop.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard