Does anyone have a Powershell script that will remove ExchangeOnline licenses from users who have not used their license in the last XX days? I have a lot of users who have not used the ExchangeOnline license from the lastloggedin report and need to release the licenses.
This could either read directly of the system of preferably off the lastloggedin report CSV
Want them to keep sharepoint, just want to remove Exchange
Thanks in Advance for help