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