Notifications
Announcements
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.
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 }
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional