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 / Power Automate Machine...
Power Automate
Unanswered

Power Automate Machine Runtime error connection

(0) ShareShare
ReportReport
Posted on by 33

Hello.

 

I'm trying to run a desktop power automate flow in my virtual machine (VM Ware), that flow just execute a python file, just it.

I put the flow in the power automate recurrence and put the 'run a flow built by power automate desktop' action, select the connection of my machine runtime in my virtual machine, put attended run mode and try to run but gives me an error.

 

My flow:

JorgeGBS_0-1704809630355.png

 

The error message:

"error": {
 "code": "GeneralRobinScriptExecutionError",
 "message": "Encountered an unexpected error during Desktop flow script execution: 'System.ArgumentException: Illegal characters in path.
 at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
 at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
 at System.IO.Directory.GetFiles(String path)
 at Microsoft.Flow.RPA.Data.Components.Providers.RuntimeDataProvider.<UniteChunksAndCleanUp>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Flow.RPA.Data.Components.Providers.RuntimeDataProvider.<BuildDesktopFlowProject>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.DataResolvers.RootFlowDataResolverV1.GetFlowDataAndSetState(Guid scriptId, Guid runId, Dictionary`2 flowInfoCache, String directory)
 at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.RobinScriptProvider.ResolvePackagePath(Guid flowId)
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.RobinEngine.<Execute>d__23.MoveNext()'."
 }

 

Somebody can help me?

 

Tks!

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard