Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

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

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 23,361 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.
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,745

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics