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 / Cloud flow trigger des...
Power Automate
Unanswered

Cloud flow trigger desktop flow

(0) ShareShare
ReportReport
Posted on by 29

Hello all,

I have created desktop flow works great but every time i try to access my it i get this error 
Problem while executing action 'GetFiles'. Can't retrieve list of files in folder .

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Can't retrieve list of files in folder . ---> System.ArgumentException: The path is not of a legal form.

I changed all the get file to launch excel directly then i get the same error 'cant find the file'
when i test from desktop its works no problem. 
Any tips? 
Hazem

Categories:
  • HazemSaleh Profile Picture
    29 on at
    {
      "error": {
        "code": "Folder.RetrieveFilesError",
        "message": "Problem while executing action 'GetFiles'. Can't retrieve list of files in folder . \r\n \r\nMicrosoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Can't retrieve list of files in folder . ---> System.ArgumentException: The path is not of a legal form.\r\n   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)\r\n   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)\r\n   at System.IO.Path.GetFullPathInternal(String path)\r\n   at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)\r\n   at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.FolderActions.GetFilesInFolder(Variant folder, Variant fileMask, Variant& listOfFiles, Boolean includeSubfolders, Boolean getResultInDataTable, String resultDataTableColumns, Boolean failOnAccessDenied)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.GetFilesInFolder.Execute(ActionContext context)\r\n   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)\r\n"
      }
    }

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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard