cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JanTheofel
Level: Power Up

Move all emails from one folder to another

Hello,

 

I want to create a flow that moves alle emails from one folder to another one. The flow should start for certain hours each day. 

 

Here is what I tried:

 

Trigger:

"Recurrence" says: "Runs at 7:00,12:00,16:00,19:00 every day"

 

Function:

"Get emails" configured for the folder from which I want to move all emails away (limit 20 shouldn't be more anyway and including all messages and inclucding attachments)

 

Apply for each:

Seleceted "Body" from the function before

 

Within apply for each:

Function: "Move email" with message id = Conversion Id and my target folger.

 

See below for the visual flow chart.

 

Whenever I run the flow I get the following error in the Foreach-part:

"ActionFailed. An action failed. No dependent actions succeeded."

 

Can anyone see what I did wrong?

Thanks!
Jan

 

2 REPLIES 2
JanTheofel
Level: Power Up

Re: Move all emails from one folder to another

Found it myself: I choosed "Conversion Id" instead of "Message ID".

Community Support Team
Community Support Team

Re: Move all emails from one folder to another

Hi @JanTheofel,

 

Thanks for updating.


And yes, dynamic content Message Id is needed for the Message Id field.


Please take this doc for a reference:
https://docs.microsoft.com/en-us/connectors/office365/


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,059)