Hi @UnplannedIT ,
Have you created a designated contact list under People on Office 365?
I have made the following flow for your reference.
First, create a folder of Contacts under People on outlook.office.com.
Start the flow with the trigger When an email arrives.
Initialize variable. Set Name as Email, Type as String.
Get Contacts from the folder you’ve created under People.
Add an Apply to each, select value from Get contact, within the Apply to each, add action Append to string variable, select dynamic content Email addresses from Get contacts.
Under the Apply to each, add a Condition to check if the variable Email contains From.
If yes, Move email to Folder Archive. If no, Move file to Folder Junk Email.

Please take a try with it on your side.
Best regards,
Mabel