Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 7R3SISnXw3cLDKq3dwrvjj
Power Automate - Power Automate Desktop
Unanswered

Cannot run Desktop flow unattended without user being local admin

Like (1) ShareShare
ReportReport
Posted on 1 Sep 2022 17:20:17 by 20

Complete n00b here. A remote desktop has been configured with Power Automate and Office installed. If the RDP user has local admin privileges, I can run in unattended mode from a cloud flow, but if we remove local admin I can't even create or edit without getting the message

Test connection failed. Details: Connection failed: [Machine ...] There’s an issue with your credentials. Check your credentials or use different credentials to connect to the machine.

Desktop flows can be run locally regardless of the privilege setting.

  • Esbastian Profile Picture
    24 on 28 Jun 2024 at 20:54:23
    Re: Cannot run Desktop flow unattended without user being local admin

    Hi @pollyo 
    Did you find microsoft documention on this?

    I also want to avoid giving admin access.

  • DanielK030 Profile Picture
    17 on 04 Jul 2023 at 08:45:11
    Re: Cannot run Desktop flow unattended without user being local admin

    @pollyoYou've obviously had the problem for a while. Have you by any chance found a solution to not give local admin in the meantime? Was looking for official documentation but only came across this post. "Remote Desktop Users" seems not to be sufficient.

  • pollyo Profile Picture
    20 on 02 Sep 2022 at 03:14:49
    Re: Cannot run Desktop flow unattended without user being local admin

    @Ankesh_49 thank you for the reply. Unattended execution does work for me if the account has local admin privileges, but for security reasons we would prefer avoiding having any workstations with simple domain auth AND local admin privileges.

  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on 01 Sep 2022 at 21:13:48
    Re: Cannot run Desktop flow unattended without user being local admin

    @pollyo Refer this https://powerusers.microsoft.com/t5/Building-Flows/connection-failed-ui-flow/td-p/761276

     Let me know if you need further assistance.

    Thanks

    Ankesh

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started