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 / Setting up Unattended ...
Power Automate
Answered

Setting up Unattended Mode, using Entra

(3) ShareShare
ReportReport
Posted on by 36
Hi All,
 
Do you all have any knowledge of setting up unattended mode through entra id? I am having difficulty understanding the Microsoft Documentation.
 
Thank You!
I have the same question (0)
  • Verified answer
    Riyaz_riz11 Profile Picture
    4,048 Super User 2026 Season 1 on at
    Hi,
     
    Follow below steps:

    1. Ensure Licensing & Prerequisites

    • You need a Power Automate Process Plan plus the Unattended RPA add-on assigned to your environment 

    • The target machine must be Windows 10/11 or Server, joined to Azure AD (Entra ID) or Hybrid AD, and have Remote Desktop Users permissions 

    • Ensure no active or locked user sessions exist when running unattended flows 

     2. Create & Configure Machine Connection

    1. In Power Automate portal → go to Data → Connections → New connection → search for Desktop flows.

    2. For unattended mode, select:

      • Connect with username and password

      • Choose the Entra ID-based account registered on the machine (or local account)

      • Fill in machine name and credentials

    3. Don't use Connect with Sign-in — that only supports attended scenarios

     3. Enable Certificate-Based Authentication (Optional, Preview)

    If your tenant enforces MFA or can't bypass password prompts, you can opt for CBA with Entra ID.

    • On the machine, you must enable:

      • RDP with Entra ID for app ID a4a365df‑50f1‑4397‑bc59‑1a1564b8bb9c

      • Suppress consent prompt for that App ID

    This is preview functionality and needs testing.

     4. Fix the "Always Prompt for Password" Issue

    If you encounter the error MSEntraMachineAlwaysPromptingForPassword:

    • This often arises due to an RDP security policy prompting for passwords.

    • Resolution:

      • Set registry key:

        HKLM\SOFTWARE\WOW6432Node\Microsoft\Power Automate Desktop\Service\UseRdsAadAuthentication = 1 

      • Disable Always prompt for password upon connection in Group Policy or registry 



      •  

     5. Configure Machine Settings in Power Platform Admin Center

    • Go to Monitor → Machines in Power Automate portal.

    • Select your machine and click Settings.

    • Enable:

      • Reuse sessions (optional but helpful)

     6. Triggering Flows via Cloud

    • Use a cloud (instant/scheduled) flow.

    • Add the Run a desktop flow action.

    • It should allow selecting your connection (with machine & credentials).

    • Set Run mode to Unattended

     

    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard