web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : ftd57/i9YeKIBpVBxwSFIV
Power Automate - Power Automate Desktop
Answered

Authentication error when trying to connect cloud flow to desktop flow

Like (0) ShareShare
ReportReport
Posted on 21 Apr 2023 01:52:10 by 113
Power Automate Cloud is seeing my machine using the "Directly to machine" option of the desktop flows module, but I am trying to log in with my 365 username and password and getting this error:

 

Test connection failed. Details: Connection failed: [Machine (removed)] Connection error on the machine. Machine join type: NotJoined; Username type: (removed); Status: -1073741715; Details: The attempted logon is invalid.. Correlation id: 299c8a97-2376-47e5-bd97-eadaa3ebbbf7

 

When I try to use the "Connections" tab to create a new desktop connection, there is no "Create" button; it must be initiated from a flow, and I get the above error. I get the same error when I go into Connections to try to login there.

 

If I go into "Connections", delete the attempted connection and recreate the flow, it SOMETIMES presents me with the correct list of flows in my environment, and when I choose it, it shows me the correct variables I need to pass. But then it tells me that the connection is not authorized and go to into Connections and fix it, though there is no "Fix connection"; it just says "Connected" even though it clearly isn't.

 

This is on my personal laptop that is not fully part of the company domain, though I do have my 365 account linked. I have also tried to login using my local domain/username, but no dice with that either. I have no trouble connecting with any of our other 365 services remotely.

I have the same question (0)
  • Rohit4044041 Profile Picture
    268 on 08 Jan 2025 at 16:53:25
    Authentication error when trying to connect cloud flow to desktop flow
    Were you able to solve this? I have same issue
     
    I have personal laptop with PAD installed. PAD is logged in with 365 account
     
    I did whoami. Got the domain and user. However, since i use windows login (With HEllo PIN or faceID i do not have a password)
     
    Wha tdo i enter in password?
  • jcam Profile Picture
    5 on 12 Aug 2023 at 09:24:34
    Re: Authentication error when trying to connect cloud flow to desktop flow

    How did you solve it? By buying the full RPA license? I'm trying it first, so I got the free trial. I'm still unable to get past that test connection error. I'm wondering how did you manage to get it worked.

    jcam_0-1691832221515.png

     

  • skelecopter Profile Picture
    113 on 28 Apr 2023 at 18:48:59
    Re: Authentication error when trying to connect cloud flow to desktop flow

    Just wanted to follow up. Adding the full RPA license and giving it the weekend to think about it seems to have worked. I now have my cloud flow connected to my desktop flow from my personal laptop, and it is working as desired so far. I didn't have to let my machine be taken over by the organization or use my work laptop; I only had to link my work account in the user settings. Thank you so much for your help!

  • skelecopter Profile Picture
    113 on 22 Apr 2023 at 00:55:52
    Re: Authentication error when trying to connect cloud flow to desktop flow

    Yes, I only have the one personal Microsoft account on this machine. I have my company 365 account linked in my user settings for Office apps, etc., but my machine is not managed by them (not joined to AAD)

  • Pstork1 Profile Picture
    67,356 Most Valuable Professional on 22 Apr 2023 at 00:51:43
    Re: Authentication error when trying to connect cloud flow to desktop flow

    When the cloud flow kicks off the desktop flow are you logged in as the WhoAmi account on the laptop?  That is the expectation for an Attended flow.  For unattended you would need to be logged out of the laptop.

  • skelecopter Profile Picture
    113 on 21 Apr 2023 at 23:28:14
    Re: Authentication error when trying to connect cloud flow to desktop flow

    The license specified attended, so that's what I've been trying, though the result is the same with choosing unattended. My test flow is also just a manual trigger -> desktop flow, so there should be no other licensing complications with that either.

     

    I also tried to open a second tab while building my flow to login again under the Connections tab, but I got the same.

     

    I've sent this information to support too. The desktop flow will be running on my work laptop on site anyway, so I'm hopeful it will at least work then. I am also going to try again tomorrow just to make sure this isn't a symptom of just having registered for the license; maybe it takes some time to update fully?

  • Pstork1 Profile Picture
    67,356 Most Valuable Professional on 21 Apr 2023 at 23:18:33
    Re: Authentication error when trying to connect cloud flow to desktop flow

    Not sure about the current error you are getting.  Normally that goes away after you approve the connections and save the flow one more time.  Are you trying to do attended or unattended?  

  • skelecopter Profile Picture
    113 on 21 Apr 2023 at 22:56:25
    Re: Authentication error when trying to connect cloud flow to desktop flow

    Okay, so I was using the trial, which may have been an issue. I added the RPA license to my account, and PAD popped up and said the license has been added, and now it is behaving differently.

     

    I was able to complete the connection using my domain\username login, and it doesn't complain when using the Connections tab.

     

    However, when I go to set up my flow, it now allows me again to select the desktop flow from my environment/machine, but it gives the same errors:

     

    skelecopter_1-1682117681327.png

     

    When I choose attended mode, that error disappears, but when I try to save the scenario, it is blocked with this message:

     

    skelecopter_0-1682117639320.png

     

    I can go back under "Connections" and update it again, and it seems to be successful, but I get the same errors in my flow again. I will also note that the second error is now appearing for other flows where it makes no sense:

     

    skelecopter_3-1682118318491.png

     

     

    This popped up once for a different flow that has existed for months, and even though I verified the Dropbox account it was asking about (that never changed), now it shows up every time I go to edit that flow. However, it doesn't block me from saving the flow in that case, and it works normally otherwise.

  • Verified answer
    Pstork1 Profile Picture
    67,356 Most Valuable Professional on 21 Apr 2023 at 22:36:09
    Re: Authentication error when trying to connect cloud flow to desktop flow

    Did you also double check in the Cloud Flow website under Monitor > Machines to make sure your machine is registered and Connected?  Also make sure you have an account that has a Per user flow license with RPA.

  • skelecopter Profile Picture
    113 on 21 Apr 2023 at 20:23:12
    Re: Authentication error when trying to connect cloud flow to desktop flow

    Thanks for the reply. I have tried to use my domain\username shown by whoami to login as well, but it just creates another broken connection that says "Connected" regardless. The only difference in the error is that the username type becomes domain\user

     

    I'm out of ideas otherwise; I will be going into the office Monday to see if it works there with my work laptop that's fully part of the domain (and to active Virtual Desktop, haha)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started