cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 425 members 4,713 guests
Please welcome our newest community members: