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 / failed to take screens...
Power Automate
Unanswered

failed to take screenshot when in unattended mode

(0) ShareShare
ReportReport
Posted on by 20

anyone experienced a inconsistent behaviour of taking a screenshot during a flow when in unattended mode. 

 

I get an error, 'unable to take screenshot' , does not happen all the time !

 

I am using the screenshot as a way of debugging, so having the debugging code fail is not helpful 🙂

 

thanks

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @johnaustin are you trying to take screenshot of an entire screen or just a window? Also try adding timestamp to filename name just to make sure there is no overwrite conflict when saving the file.

    Can you share more details on error from Power Automate logs?

  • johnaustin Profile Picture
    20 on at

    It fails on all combinations of primary screen, all screens etc. 

     

    error is not that helpful 

     

    {
        "outputFlowErrors": {
            "localizedName""Error",
            "value""Failed to take screenshot.",
            "variableName"""
        }
    }

     

  • JoaquinHome Profile Picture
    8 on at

    I am curious if anyone has found a solution to this issue.  If i run the flow in attended mode the @screenshots work perfectly, when I run the same flow in unattended mode the screenshots are not what they are supposed to be, or what they are in attended mode. Why does it always take a @screenshot of the wrong thing in unattended mode?  absolutely infuriating.

     

    thank you.

  • VJR Profile Picture
    7,635 on at

    @JoaquinHome , add Wait stages and focus on the correct window is absolutely necessary for the appropriate screenshots.

  • zixili Profile Picture
    2 on at

    Hi johnaustin,

    have you found why failed to take screenshot when in unattended mode and how to solve it? Thanks

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 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard