I have a flow that creates a draft email and places it in my drafts folder. I need to create draft emails and drop them into another user's Drafts folder. I've tried modifying both the sender and from addresses but it still places it in my mailbox.
yes it works!! just make sure the flow is an instant flow and u just have to add yr user to run the flow themselves so power automate can extract the email address and send the draft to the right draft mail box
Hi @ajd3rd,
did you get it working?
To eliminate steps in the Condition Control, you can add the GET USER PROFILE at the top, after FOR A SELECTED ITEM. With this step, you will only have to GET USER PROFILE once.
Hi ajd3rd,
I was searching for a similar solution, where i need the draft email to sit in the draft mailbox of the user that triggered my instant flow.
Based on your creation above, i found that the below screenshot worked for me:
Picture 1 just shows the Flow Structure of my Instant Flow. For Selected Item and Get Item is Simple. i just need to choose my site and list correctly.
Picture 2 is just the conditions for my flow to run.
Picture 3 is the Yes/No Condition and what is the URI i used. What is important is to use GET USER PROFILE as there is more than 1 user using this flow.
As u can see, its a mixture of what u used (mailfolders/drafts) and what i used previously https://graph.microsoft.com/v1.0/me/messages
Hope this helps!!
Thanks for your help. I'm see the value of Graph Explorer, I didn't know that was available. I created the following:
It appears the user id and folder id work. The flow constantly retries sending the email. I'm thinking I have something wrong in the URL for the last step.
Again many thanks for your help.
>Does that allow me to change the user and then place the message in another users drafts folder?
You do not need to "change the user".
You have to (via MS GRAPH):
1)get the other user ID
2)get the other user draft folder ID
3)create a draft message in the Drafts folder of the other user
Victor,
Thanks for the replies. I'm new to this and not sure what you are directing me to do. I looked at MS Graph Explorer but I'm unsure what to do with the results of user. Does that allow me to change the user and then place the message in another users drafts folder?
Thanks for you help!
Run the MS GRAPH Explorer and start with this request:
https://graph.microsoft.com/v1.0/users
Thanks for the quick reply. Would I enter the user as their domain user account?
Many thanks for your help.
The URL you are using assumes you will work only with your own mailbox.
Use
https://graph.microsoft.com/v1.0/users/{otheruserID}...
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional