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 - Using Flows
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

I have the same question (0)
  • HazemSaleh Profile Picture
    29 on at
    Re: Cloud flow to desktop flow
    {
      "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

Responsible AI policies

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 597 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 373 Moderator

#3
chiaraalina Profile Picture

chiaraalina 262

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow