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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

One Drive Recordings

(0) ShareShare
ReportReport
Posted on by 4

Hi Team, Need your help as I am trying to remove the expiration date from the recordings in One Drive. I am unable to find any options to remove the expiry via power automate. 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @SA101,

     

    You can use the SetExpirationDate method in a Send an HTTP request to SharePoint action. You can set a new expiry date via the expirationDate property. In your case you want to set it to null.

     

    I have shared this solution approach on StackOverflow as well: https://stackoverflow.com/questions/76114037/how-to-use-power-automate-to-set-the-expiry-of-teams-videos-stored-in-sharepoint

     

    Below is the same example.

     

    URI

     

     

    _api/web/GetFileByServerRelativeUrl('/personal/dennis_contoso_onmicrosoft_com/Documents@{outputs('Get_file_metadata_using_path')?['body/Path']}')/SetExpirationDate

     

     

     

    Body

     

     

    {
    "expirationDate":null
    }

     

     

     

    onedriverecording_expirydate.png

     

  • SA101 Profile Picture
    4 on at

    Thank you so much. It worked !!  How can I extend this to my team so that it works for everyone without having to create the flow for each individual?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard