Remove a user’s oldest ActiveSync device
A few weeks ago, I saw something come up for a peer that needed a way to manage the maximum number of ActiveSync devices that a user had connected in Office 365. Using only native Exchange policies, we can’t do that (MDM solutions solve this problem by manning the Exchange ActiveSync quarantine). If it was an Exchange on-premises deployment, we could manage it via throttling policies.
I thought it was an interesting problem and came up with a solution (though not terribly elegant) based on these constraints:
- Specify maximum number of devices for a user
- Remove all devices over specified number, sorted by last successful sync
Read more source: https://blogs.technet.microsoft.com/undocumentedfeatures/2016/06/20/remove-a-users-oldest-activesync-device/