Filter devices based on lastSeenBefore

I am following this guide - https://news.sophos.com/en-us/2020/04/28/how-to-remove-unused-devices-from-sophos-central/

No matter what I set find_old to be in terms of days I get all devices in the inventory.  In the sample script it is using lastSeenBefore to filter.  What am I missing, I only want to retrieve devices that were last seen before say 30 days ago.

Parents Reply Children
No Data