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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / outlook action not wor...
Power Automate
Unanswered

outlook action not working

(1) ShareShare
ReportReport
Posted on by

Hello,

 

I've been struggling with a simple desktop Flow that saves email attachments to a local folder.  When I run the Flow the email is not flagged as Read and the files are not saved in the Local folder.

 

Process:

Launch Outlook \\ Retrieve Emails messages from Outlook \\ Close Outlook

 

The log is showing this error

 CancellationToken cancellationToken)\r\n   at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.NamedPipesRpcPeer.WaitForConnectionSafe(NamedPipeServerStream server

 

Any help or direction would be greatly appreciated.

 

Thanks,

 

Tim

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    You need to actually do something with the attachments or they will not stay saved down.  They are temporarily saved down while the flow is active, but you have to save them down if you don't do so in the Retrieve email messages from Outlook action:

    MichaelAnnis_0-1721066207803.png


    If you do it in the Retrieve Action, great, and they should be in that folder.  If you don't choose this option, then you later need to run a For Each on the e-mails, and choose what to do with %CurrentItem.Attachments%.

    Good luck!

  • Maverick79 Profile Picture
    on at

    @MichaelAnnis I was running the flow with Retrieve action and nothing is happening.

     

    I keep seeing strange things happen with email

     

    Maverick79_0-1721068543233.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Is the "New" Outlook defaulted to Open Outlook.  I wonder if you want to make sure you are using the Classic Outlook in order to use these features.

    If you click the outlook button, you should have the classic view, with the ribbon the "try the new outlook" in the top right is Off.  If you have the new version, it will look same as the web version, and I don't think you can use that with these actions.

  • Sayan Profile Picture
    818 Moderator on at

    Hey @Maverick79 

    Sayan_0-1721072691573.png

     

    You can try by putting the value of "Subject Contains".

     

    Can you please share the Screenshot of "Retrieve Email Messages from outlook".

     

    ------------------------------------------------------------------------------------------------------------------------------

    If my suggestion helps you, gives it a Thumbs up 👍 and Marks as a Solution ✔️. Which motivates to solve more problems.

    Thanks,

    Sayan Patra | RPA Developer

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard