Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Power Automate Desktop Flow Brick Wall (PowerShell)

How can you run certain task within Power Automate Desktop Flows as an admin?

I'm a domain user on a domain computer with local administrator rights.


I can run PowerShell scripts as a local administrator in ISE and they work but there's no way to configure the built-in PowerShell module in Desktop Flows to run as an admin. All my scripts get an output of access denied.


I've went as far as to disable UAC and set ISE (all 4 versions) to run as admin by default. The Power Automate desktop app is also set to run as admin.


I've hit a brick wall. No point in automating AD tasks if now I can't run the scripts.


Any ideas?


Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,325)