How to Require Approval for SharePoint Dates Within 45 Days
Question details
The user needs to route SharePoint leave or calendar requests for manager or administrator approval specifically when the requested date is within 45 days from today.

- Product
- Microsoft SharePoint & Power Automate
- Device & OS
- not provided
- Scenario
- Managing calendar events, time-off requests, or scheduling in SharePoint requiring conditional date-based approvals.
- Observed behavior
- Standard SharePoint calendars do not automatically restrict or route requests based on dynamic date calculations out of the box, requiring a custom automated solution.
Ensure you have adequate permissions to create and manage Power Automate flows within your Microsoft 365 environment, and that your target SharePoint list or calendar is already set up with the necessary date fields.
Create a Power Automate Flow for Date-Based Approval
Since SharePoint does not offer this logic natively, you can build a Power Automate flow that calculates the difference between today's date and the requested date, triggering an approval process if it falls within the 45-day window.
This solution utilizes Microsoft Power Automate to intercept the creation of a new item in your SharePoint list, evaluate the dates, and route the approval automatically.
Log in to Power Automate and create an automated cloud flow. Set the trigger to 'When an item is created or modified' and select your specific SharePoint Site Address and List Name.
Add a step to get the current time using the 'utcNow()' expression. Then, calculate the 45-day threshold by using the 'addDays' expression (e.g., addDays(utcNow(), 45)) to define your cut-off date.
Insert a 'Condition' action. Configure it to check if the requested date from your SharePoint item is less than or equal to your 45-day calculated date variable.
In the 'If yes' branch of the condition, add the 'Start and wait for an approval' action. Assign it to the designated administrator or manager who needs to review short-notice requests.
Following the approval action, add an 'Update item' step to change the item's status in SharePoint to Approved or Rejected based on the manager's response.

Enhance Your Daily Productivity with WPS Office
While SharePoint and Power Automate handle your backend approval workflows, you still need a reliable office suite for drafting request documents, analyzing leave data, and creating reports. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, letting you seamlessly edit Word, Excel, and PowerPoint files without a subscription.
- 1. Download the Software: Visit the official WPS Office website and download the free installation package tailored for your operating system.
- 2. Install and Launch: Run the downloaded installer and follow the simple on-screen instructions to set up the suite in just a few minutes.
- 3. Edit Your Documents: Instantly open your exported SharePoint lists, Excel reports, or Word documents directly in WPS Office to begin editing.

Frequently Asked Questions
Can I achieve this 45-day approval restriction using only SharePoint out-of-the-box features?
No, standard SharePoint calendars and lists do not have built-in conditional logic to trigger varying approval routes based on dynamic date calculations. Power Automate or a custom script is required.
What happens if a user submits a request for a date 50 days in the future?
If you configure your Power Automate flow condition to only trigger approvals for dates within 45 days, requests beyond 45 days will follow the 'If no' branch, where you can set it to automatically approve the item or bypass the secondary manager review.
Which Power Automate trigger should I use for a SharePoint calendar?
Use the 'When an item is created' or 'When an item is created or modified' trigger, pointing directly to the specific SharePoint Site Address and List Name where your calendar is hosted.




