Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Desktop flow no longer working when run as unattended


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.






Super User
Super User

Does it work with local folders? 

Frequent Visitor

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.

Super User
Super User

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

Frequent Visitor

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.

Advocate II
Advocate II

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.

Memorable Member
Memorable Member

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:


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!

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,073)