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 / Desktop Flow works whe...
Power Automate
Answered

Desktop Flow works when building but fails when called by Cloud Flow

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 

I have a Desktop Flow that logs into QuickBooks Desktop and does some operations after. This flow is successful when building the flow but when I call it as part of a Cloud Flow in unattended mode the log in cannot part be completed. QuickBooks says the username or password is incorrect but they are not. I have tried to change the setting of the Send keys functions I am using for this part of the flow and I can always get it to work when running it directly on the computer. 

 

Any advice?

 

franksteel_0-1641503132255.png

 

  • Verified answer
    franksteel Profile Picture
    9 on at

    The solution was to replace the Desktop Flow Input variable of Password (with default set to the actual password) and just have the raw string of the password. This seems far from best practice but the flow should not work when building it but fail when being called in Unattended RPA mode. The stress of this not working and breaking a production workflow means I will be slightly less secure now with the hope that this behavior is corrected in a future update.

     

    I "debugged" by taking using the Take Screenshot method in Desktop Flows after each step in the flow, running it Unattended, then going back to see that the password field was not being populated. There has to be a better way to do this I am not aware of, but it worked for me.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Instead of after each step.  How about an On Error Block which redirects to an Error Flow:

     

    1)Take screenshot and save to file

    2) write last error to text file

     

    Then you will get both, and only on an error.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard