Skip to main content

Notifications

Power Automate - Connector Development
Suggested answer

Send an HTTP request using https://graph.microsoft.com/v1.0/me/messages - trigger is in power apps

(1) ShareShare
ReportReport
Posted on by 2

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,

Categories:
  • Suggested answer
    FLMike Profile Picture
    FLMike 27,286 on at
    Send an HTTP request using https://graph.microsoft.com/v1.0/me/messages - trigger is in power apps
    this doesn't make sense
     
    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.
     
    They are the same person
     
    If I click the person I am the person connected to the flow.
     
    If you are saying you want the person who Clicked the button in the app to simply trigger, but you want the Connection (because thats whats important) to be run as someone else so that it goes in their draft, then you need to make sure the connection to Outlook is setup as that person AND that the person click it can and does have permission to do this.
     

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,609

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,420

Leaderboard

Featured topics