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 / Unattended flow can't ...
Power Automate
Answered

Unattended flow can't login to website

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a desktop flow set to perform these operations:

1. Open a new chrome window to website

2. Populate text field (username)

3. Populate text field (password)

4. Press button (login)

5. Wait for web page element (an element that appears after the login is successful)

 

When I run this flow attended from desktop, it has no issues and logs in then proceeds with the next action. But when I run my cloud flow which is set to run the flow at a scheduled time in unattended, the browser launches, and from what I can tell the username and password are input but then it will just wait forever, unable to execute step 5, making me think that for some reason after clicking login it's not authenticating and redirecting.

 

Any ideas how I can troubleshoot what's going on here? Thanks in advance.

I have the same question (0)
  • trice602 Profile Picture
    16,518 Super User 2026 Season 2 on at

    Hi @eloomis ,

     

    I ran into this issue when I encrypted my PW that I created on my local machine (same issue, runs great on attended but won't on unattended).  Please login into your VM that is running this unattended flow, open it up on that machine and re-enter your PW and encrypt.  This has worked for me.  Please let me know if this works for you - always glad to help! Tom

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The best way to resolve any UI automation issues on unattended flows is to add some Take screenshot actions, so you know what happened. We normally add those on error and also on some important steps. 

    I would suggest making the Wait for web page content action throw an error on timeout and then have a Take screenshot action in a separate sub-flow that you could call when an error occurs (via an On block error action).

     

    When your flow fails, you can then check the screenshot to see what the page looked like at that point. This will help you figure out where to look further for the issue.

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

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks I'll try this. I have built in several conditional loops to handle my suspicions about the issue, but this will help me pinpoint what's actually happening. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 269 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 184 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard