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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,189)