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

Notifications

Announcements

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

 

I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard