Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Error with Flow to move mail from 365 mailbox to Outlook.com mailbox

(0) ShareShare
ReportReport
Posted on by 6

The situation is that I have a domain for my personal mail. I had it on Outlook Premium for a while, then when that stopped working, I moved it to Office 365 Business. Since 365 Home now allows custom domains, I've moved it back there, and have begun the laborious task of moving tens of thousands of emails by hand for everyone in the family. I've been wanting to play with Flow a little more, so I thought I'd see if I could make this work instead of doing it by hand in Outlook.

 

So I created the following flow:

image.png

It gets through the first couple steps OK, but fails on the Move email step.

image.png

I assume it's not liking my outlook.com login; but it is connected OK and it can browse the folders when I choose where to move it to.

 

Any ideas what I'm doing wrong? Also, should this also move the attachments, or does the "apply to each" also need to have Attachments specified? Thanks!

 

  • JKyle Profile Picture
    6 on at
    Re: Error with Flow to move mail from 365 mailbox to Outlook.com mailbox

    Oh, and as a side note, Flow does properly deal with MFA on Outlook.com accounts and I am able to authenticate it via the app and it responds to that, so no app password needed (unlike Outlook itself!) Note that the error I'm getting is a 404 and "User account or mailbox does not exist", not an authentication failure, so I don't think 2FA/MFA has anything to do with it.

     

  • JKyle Profile Picture
    6 on at
    Re: Error with Flow to move mail from 365 mailbox to Outlook.com mailbox

    Unfortunately that did not help, either. I used my wife's mailboxes (old one on O365 Business, new one on outlook.com), neither of which have 2FA, and received exactly the same error. In all cases, I've used the native Outlook.com email address, not the "personalized email address"; ie, the one has my domain name as part of it. The Outlook.com is set as the "Primary" email address for each account, and all the connectors have green checkmarks.

     

    I'm still suspecting that it just won't work from O365 Outlook to Outlook.com.

     

  • AlanPs1 Profile Picture
    2,471 on at
    Re: Error with Flow to move mail from 365 mailbox to Outlook.com mailbox
    Hi. I think the 2FA is the issue.

    What I’d suggest to prove or disprove that, would be to set up a new outlook.com account just as a test. Set that up as a connection and test your Flow. If that works without 2FA/MFA then look for some sort off app password in outlook and see if flow is compatible with adding it, if you do get one in outlook.com. I know you get one in office 365 as a comparison.

    Thanks, Alan.
  • JKyle Profile Picture
    6 on at
    Re: Error with Flow to move mail from 365 mailbox to Outlook.com mailbox

    Thanks for the reply. I did see that my connections are listed twice under the three dots. (Maybe because I also have them set up with OneDrive For Business and OneDrive - which also doesn't work, but that's a totally different topic.) I tried all combinations with no success. I also told it to forget and then reconnected to the outlook.com account. Every time, I get the 404 and "User account or mailbox does not exist" error in the "Move email" step.

     

    I do have 2FA on the outlook.com account but I don't think that is the issue.

     

    Just to clarify, although they use the same icons, my flow starts with "Office 365 Outlook" and finishes with "Outlook.com" - I can only assume that what I'm trying to do doesn't work going between them. I don't see what else I could be doing wrong.

     

  • AlanPs1 Profile Picture
    2,471 on at
    Re: Error with Flow to move mail from 365 mailbox to Outlook.com mailbox

    Hi @JKyle , thank you for your post.

    In the first instance, maybe you should check and/or recreate the connection to outlook.com.

    Click the elipses (...) on both "Get emails" and "Move email" and check the connections. You add your connection again in the same palce and go from there.

     

    The "Apply to each" shouldn't need any additional changes.

     

    If you have found my post helpful, please mark thumbs up.

    If this post has solved your problem, please click "Accept as Solution".

    Any other questions, just ask.

    Thanks, Alan

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,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow