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

Announcements

News and Announcements icon
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,968 Super User 2026 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,998 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 308 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 171 Super User 2026 Season 2

#3
Haque Profile Picture

Haque 137 Super User 2026 Season 2

Last 30 days Overall leaderboard