web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Unanswered

Unable to move processed Outlook emails to archive folder in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 4

 

Hi everyone,

I’m working on a Power Automate Desktop flow that processes emails from Outlook Desktop.

After each email is processed or sent, I need to move it to an archive folder (PST) because my main mailbox has limited capacity.

 

I tried using Outlook rules and auto-archive, but the minimum period allowed is 1 day — I need this to happen every few hours instead.

 

To retrieve the emails, I’m using the following action successfully:

Outlook.RetrieveEmailMessages.RetrieveEmails  
Instance: OutlookInstance  
Account: 'masked_account@domain.com'  
MailFolder: 'TestFolder'  
EmailsToRetrieve: Outlook.RetrieveMessagesMode.All  
MarkAsRead: True  
ReadBodyAsHtml: False  
Messages => RetrievedEmails
 


The issue is that **the PST archive folders are not visible** when I access Outlook with this account.  
I can only see them if, in the *Account* parameter, I specify the **PST file name** instead.  
When I try to move the processed emails using:
 
Outlook.ProcessEmailMessages.MoveEmails  
Instance: OutlookInstance  
Account: 'masked_account@domain.com'  
EmailsToProcess: RetrievedEmails  
MailFolder: 'D:\\Path\\To\\File\\archive_file1.pst'
 

I get an error, since the PST archive is considered a different account from the main mailbox I used to retrieve the messages.

 
 

Expected behavior:

 

Be able to move processed emails to a folder inside a local PST archive, even if the archive belongs to a different account than the one used to retrieve the emails.

 
 

Actual behavior:

 

The action fails when trying to move messages to a folder that belongs to a PST archive file (different account). It seems Power Automate Desktop does not support cross-account moves between the main mailbox and local PST archives.

 
 

Additional information:

 

  • Outlook version: 2509

  • Power Automate Desktop version: 2.60.154

  • Account type: Exchange mailbox (primary) + local PST archive

  • The PST file is visible and accessible from Outlook Desktop.



  •  

 

Has anyone experienced something similar or found a workaround to move emails from the main mailbox to a PST archive using Power Automate Desktop?

 

Thanks in advance,
 
 
 
Categories:
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 721 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 545 Moderator

#3
chiaraalina Profile Picture

chiaraalina 321

Last 30 days Overall leaderboard