Please add video duration (video length) property to the Get File Metadata action in Power Automate. And while you're at it, please add other useful metadata properties as well, like for example image width and height, resolution, bit depth, data rate etc. Currently the output of the Get File Metadata action is very limited. While video duration is visible in the Playlist Sharepoint List view, there is no way to obtain this information through Power Automate in any way, as far as I know. I've been researching for hours and tried all sorts of things, to no avail.
I finally discovered a way to obtain the file duration of a video using below steps:
1. Send a HTTP request to Sharepoint to get the file properties, for example
_api/web/GetFolderByServerRelativeUrl('Shared Documents/ ...')/Files('Video.MOV')/Properties
2. Then use the Parse JSON action (you can use the HTTPS response to generate the schema) to transform the response and voila 🥳: the MediaLengthInSeconds property, like many other useful file properties, can then be used as dynamic content in the rest of the flow!
Ah, my bad, apologies. Thank you for the suggestion — will drop my idea there. 😉
Hi there,
This is a help forum, so there aren't people here taking suggestions for implementation and stuff like that. If you want to get an idea across, you should post it in the Ideas forum for Power Automate -- it's here:
https://ideas.powerautomate.com/d365community/forum/086dd68e-597f-ec11-8d21-0022482e8f9f
I did a search and couldn't find a request for your specific need, so you'll be the first!
David_MA
161
Super User 2025 Season 1
Michael E. Gernaey
148
Super User 2025 Season 1
stampcoin
143