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 / Every Powershell actio...
Power Automate
Answered

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
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard