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

Run Power Automate Desktop as Admin - Help Please?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, I have a Power Automate Desktop Flow that will, as one of it's steps, run a PowerShell Script.

This PowerShell Script is very simple, it adds an inputted user as a local admin on a remote computer. The script in itself works but when running it with my Flow I always get an Output of Access Denied.

 

If I were to run the PowerShell script in ISE I would need to run ISE as admin. I am a local admin on my PC and I have ISE (all versions) to run as administrator automatically but when ever my Flow runs, I get access denied. 

 

Is there somewhere I can fix this? I've even went as far as disabling UAC (just for testing) and it's still not executing my code.

 

Thanks in advance.

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

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 258 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 198 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard