
Hi,
I am reaching out regarding a Power Automate for Desktop / machine runtime issue that I have not been able to resolve.
I am trying to create a connection from Power Automate cloud to run a desktop flow on my Windows machine. The machine is already registered and appears available in the environment, but the connection fails during authentication when I select “Connect with sign in – Attended.”
The exact error returned is:
Failed to create OAuth connection: ClientError: Test connection failed. Details: Connection failed: [Machine c2950854-4541-4294-b7b2-5f96d1fa2dd5] The machine is neither Microsoft Entra nor domain joined.
From what I understand, the issue is that the machine is registered in Power Automate machine runtime, but it is not joined to Microsoft Entra ID or to an Active Directory domain, which seems to prevent this connection type from working.
One point that caused confusion is that in the Troubleshoot section of Power Automate machine runtime, the service account shows as:
NT SERVICE\UIFlowService
At first I thought this might be the username required for the connection, but it now appears this is only the internal runtime service account, not the actual Windows user account that should be used for desktop flow authentication.
My Power Automate / Microsoft 365 account is:
[email address removed by moderator]
However, the Windows session on the machine may be using a different local or personal account, so there may also be an identity mismatch between:
Could you please review and confirm the following:
At the moment, the machine appears registered, but I cannot complete the desktop flow connection required to trigger the flow from Power Automate cloud.
Thank you in advance for your help