Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Problem with my outlook flow

(0) ShareShare
ReportReport
Posted on by 4

Trying to follow the step that this blogger has outlined to be able to move email from my junk folder to my inbox.

 

However, if there are emails that contain certain words (words to help me filter spam), I want to delete email from my inbox automatically.  Here's the blog reference: https://www.robinhobo.com/how-to-apply-outlook-com-rules-on-the-junk-folder-and-how-to-stop-outlook-com-from-moving-emails-to-junk-or-spam-folder/ 

 

Followed the blogger's precise steps and here is my setup:

 

my_flow 

 

When I try and test this flow I am seeing this error

 

flow-ms

 

I have reviewed this several times and cannot figure out the problem.  Will this flow work if emails already exist in my junk folder?

 

Thanks if you are taking an interesting in helping me resolve this problem.

  • RobElliott Profile Picture
    10,118 Super User 2025 Season 1 on at
    Re: Problem with my outlook flow

    @Vdunne it would be better to post a new thread in future rather than jump on an existing thread with a different problem. What is your condition?

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

  • Veronicadunne Profile Picture
    4 on at
    Re: Problem with my outlook flow

    I am having a problem with a flow i am trying to create there two approval process in flow if the conditon yes a email is send to divisional manager for approval please seeflow 1.png screen shot error 

  • Verified answer
    v-alzhan-msft Profile Picture
    on at
    Re: Problem with my outlook flow

    Hi @BC_CAT ,

     

    Could you please take a try to fix the connection?

     

    Best Regards,

    Alice

     

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

  • BC_CAT Profile Picture
    4 on at
    Re: Problem with my outlook flow

    The message when I logged into Power Automate today.   I will try reading some tutorials next weekend,  Keep you posted. powerautomate-reauthenticate.JPG

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Problem with my outlook flow

    Hi @BC_CAT 

     

    Can you confirm that the connection you are using to authenticate is an outllook.com domain if you are using the outlook.com connector and a work or school account if using the Outlook Office 365 connector? 

     

    In either case, you need to use the respective connector actions only for this to work. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • BC_CAT Profile Picture
    4 on at
    Re: Problem with my outlook flow

    Hello, I deleted and rebuilt my flow as I couldn't figure out how to resolve the error

     

    I validated the flow, I have to keep setting up a new outlook.com connection ... I cant seem to edit the existing connection

     

    outlookJPG.JPG

  • v-alzhan-msft Profile Picture
    on at
    Re: Problem with my outlook flow

    Hi @BC_CAT ,

     

    Could you please share the full screenshot of your flow?  Does the email would arrive in the Inbox when the flow trigger? Please make sure that the email would arrive in a folder instead of the Inbox.

    Could you please share the error message in the Move email action when the flow run failed?

     

    Best regards,

    Alice   

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

  • Gristy Profile Picture
    2,429 on at
    Re: Problem with my outlook flow

    if you expand move email what is the error?

  • efialttes Profile Picture
    14,756 on at
    Re: Problem with my outlook flow
    Hi!
    Can you hover the mouse over the 'Message Id' dynamic content you assigned as input to 'Move email' action block?
    Just to doublecheck 'Message Id' is taken from triggerBody() instead of 'Delete email'
    Hope this helps

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow