Updated:
13 February 2023
Purpose
This flow moves all emails older than a specified number of days from the Inbox folder to the Archive folder. Set the number of days in the "Initialize variable intArchiveMessagesOlderThanXDays" action (see diagram below).

Current version: 1.0.0.1
Installation
- The flow uses the "Office 365 Outlook" and "Office 365 Groups" connections. When importing the flow, use your existing connections or create new ones.

- Download the "ArchiveEmails1.zip" file.
- Open Power Automate and import "ArchiveEmails1.zip" as a new flow, following the Power Automate documentation.

- Turn on the flow.

Testing
- Open Outlook and verify that the folder "Archive" exists.
- Modify the values in the "Recurrence" trigger to run the flow every 5 minutes. Set the desired number of days in the "Initialize variable intArchiveMessagesOlderThanXDays (parameter)" action.
- Wait 5-7 minutes, then verify that messages older than the specified number of days have been moved to the Archive folder.
Freeware Notice
This product is freeware.
We do not provide technical support for it.
We do not provide technical support for it.
Support Pricing
If you require technical support, purchase at least one support unit and contact us. Support units are non-refundable.
One Support Unit Price: $35.00
