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 / Desktop flow no longer...
Power Automate
Unanswered

Desktop flow no longer working when run as unattended

(1) ShareShare
ReportReport
Posted on by 35

Hi

I have a desktop flow which was previously successfully running as unattended.  I then encountered an issue where all actions on the flow were replaced with 'Unknown action'.  Thanks to this forum, I found out the reason for this was "the certificate binaries are signed with expire on March 3rd".  An upgrade to v2.5 resolved this issue. 

 

Since upgrading to v2.5 my flow will not run as unattended.  It will run as attended both from my machine and on the server.  When run as unattended it gets to action: "Get files in folder".  It returns the error message: "Problem while executing action 'GetFiles'. Can't retrieve list of files in folder ."

 

I logged the issue with support 15/03, but no progress as yet.  I have since upgraded again to v2.6.  I have tried changing the folder path from being a mapped drive to specifying the network location.  I have tried amending one or two of the other settings on this action - there's not much I can amend, but no joy.  The unattended account has the necessary access to the folder, and as mentioned it will run with that account when run as attended / previously ran as unattended

 

If anyone has any ideas, gratefully received.

 

Thanks

 

Philip

 

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    Does it work with local folders? 

  • Philip_D Profile Picture
    35 on at

    Just tried changing the folder to the C drive and same result.

     

    I'll have a try creating a new flow to test this action outside of my existing flow - albeit probably tomorrow.

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Does it fail immediately if you put a fresh Get files right at the beginning?

  • Philip_D Profile Picture
    35 on at

    Thank you @Henrik_M and @fraenK for your help. 

    I was originally passing the folder location as a variable into the action.  When I amended this so that the address was pasted into the action and ran again as unattended it worked!?!

     

    I am on to my next issue now - another action failing only when running in unattended (click link on web page), that worked previously (prior to moving from PAD v2.3 to v2.5 / v2.6), and works when running attended.

  • drake Profile Picture
    139 on at

    We are seeing this same issue, but pasting in the network path to the Get files in folder action does not resolve the issue.  It can retrieve files from the local file system (on C: drive) but not from a network share.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Here is a manual work around while you wait on Microsoft PAD Development team to fix the network issue with unattended bots.  Hope this works:

    MichaelAnnis_0-1627582962849.png

    Short story, it uses command to prompt to copy all files to the clipboard (that is the dir/b | clip command), pastes that into Excel, and then reads Excel to save the "ExcelData" as a list.  I tried "Get Clipboard Text" but it was just text, and couldn't convert it to a list, so the Excel steps are necessary to get all files as a list.

    Best of luck!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard