cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnaustin
Frequent Visitor

failed to take screenshot when in unattended mode

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

 

2 REPLIES 2
MichaelBoruta
Resolver II
Resolver II

@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?

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"""
    }
}

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (3,938)