web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Every Powershell actio...
Power Automate
Unanswered

Every Powershell action returns Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException:

(0) ShareShare
ReportReport
Posted on by 30

Since the last update every Powershell action returns the following error:


Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Fehler beim Ausführen des PowerShell-Skripts. ---> System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei Microsoft.Flow.RPA.Desktop.Modules.System.Actions.SystemActions.RunPowershellScript(Variant powershellCode, Variant& scriptStandardOutput, Variant& scriptErrorOutput)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei Microsoft.Flow.RPA.Desktop.Modules.System.Actions.RunPowershellScript.Execute(ActionContext context)
   bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

I tried to uninstall and install again PAD, install an older version but the issue remains. Any suggestion will be greatly appreciated!

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    I have the same issue. Any solutions so far?

  • PetrosM Profile Picture
    30 on at

    Nope still getting the same errors today. On my personal PC it works ok, but in my work PC it throws that error.
    Since more people are having this issue perhaps something is wrong with the update!

    In the meantime you can try to replicate the powershell actions with the Open CMD session and Write to CMD session actions.

    PetrosM_0-1657180222976.png

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Adding these system variables at environment variables solved the issue..

    env.PNG

  • Dario1 Profile Picture
    4 on at

    Can you provide more information? usually you have to give a name to the system variable, what did you call it? thanks for an answer

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard