Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi Saidovic,
As far as I known, it is impossible and I think this kind of cleaning is unnecessary.
No matter how many devices (up to five) a user has activated, he will take up to and only take up to one license. If you don't a user to use Office 365 anymore, just remove his license. They should manage their activate devices at My installs page that is a private page.
Regards,
Eric