web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : d1toSzz81S9WpvRybgNk33
Power Automate - Building Flows
Unanswered

Please add video duration property to get File metadata action

Like (0) ShareShare
ReportReport
Posted on 23 Dec 2023 03:44:50 by 9

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 have the same question (0)
  • TerenceH Profile Picture
    9 on 26 Dec 2023 at 17:05:57
    Re: Please add video duration property to get File metadata action

    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!


    Screenshots of my example flow below:

    screencapture-make-powerautomate-environments-Default-ea3a77b8-a493-49a3-b09a-27c2e52f64a7-flows-ed3915ce-fce3-4f0d-82e9-ee5f3ffc5c6e-2023-12-26-13_48_45.png

     

  • TerenceH Profile Picture
    9 on 23 Dec 2023 at 23:28:37
    Re: Please add video duration property to get File metadata action

    Drop my idea here: Please add video duration property to get File metadata action · Community (powerautomate.com)

  • TerenceH Profile Picture
    9 on 23 Dec 2023 at 23:19:44
    Re: Please add video duration property to get File metadata action

    Ah, my bad, apologies. Thank you for the suggestion — will drop my idea there. 😉

  • Rhiassuring Profile Picture
    8,688 Moderator on 23 Dec 2023 at 22:30:22
    Re: Please add video duration property to get File metadata action

    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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete