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 Platform Community / Forums / Power Automate / SharePoint: Alerting O...
Power Automate
Suggested Answer

SharePoint: Alerting Owner when their file has not been updated within a period of time

(1) ShareShare
ReportReport
Posted on by 2

Hello,

Our company has a SharePoint site dedicated to our Company Policies. All policies live in a single document library on the site. The site has a content type attached which includes file, file name, department, division, policy owner, modified by and last modified date. What is the best way to setup a global alert on that site that will inform the assigned policy owners when their file's last modified date is greater than 1 year? I started in the Microsoft Community and they redirected me here. I am brand new to Power Automate.

 

Thank you!

Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,970 Super User 2025 Season 2 on at
    You basically want to do the following:
    • Create a scheduled flow to run once per day.
    • Add a Get items action with a filter query to where the current date -365 days equals the modified date. Be sure to format the filter query to use an ISO8601 formatted date (yyyy-MM-dd). 
    • Use a condition with a length expression to make sure at least 1 item is found.
    • Then use an Apply to each on the items found to send the e-mail notification.
    • You will want to include a Get user profile to make sure that the owner account is still active and then add a catch/release if the account is invalid.
    • If it is valid, send the e-mail and if it is not valid, decide what you want to do.
  • Suggested answer
    N__A Profile Picture
    18 on at

    ​​​​​​1- Create a Flow in Power Automate:

    • Go to Power Automate and sign in with your Microsoft account.
    • Click on “Create” and select “Scheduled Cloud Flow”.
    • Choose the trigger “Recurrence” to run the flow on a schedule (e.g., daily, weekly).
    • Set the frequency according to your needs (e.g., once a day).
    2- Get Files from SharePoint:
    • Add a new step and select “Get files (properties only)” from the SharePoint connector.
    • Configure it to point to your document library where the policies are stored.
     
    3- Filter Files Based on Last Modified Date:
    • Add a “Filter array” action to filter the files retrieved.
    • Use the following expression to filter files where the last modified date is greater than one year:


    4- Send Email to Policy Owners:
    • Add an “Apply to each” action to loop through the filtered files.
    • Inside the loop, add a “Send an email (V2)” action from the Office 365 Outlook connector.
    • Configure the email to be sent to the policy owner with a message indicating that their policy needs review.
    ​​​​​​​ 

    ---

    If this post helps you with your problem, please mark this answer as Accepted Solution.

    If you like my response, please give it a Thumbs Up.

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard