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 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:
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard