[German]Are there any unused licenses in a Microsoft 365 tenant? I happened to come across a post on X where someone presented a PowerShell script that detects such unused licenses.
I have no idea whether this is an urgent problem and whether there are other options. But I'll briefly introduce it here—maybe someone can use it. The following tweet shows what it's all about: Stop wasting money on unused Microsoft 365 licenses.
The PowerShell script published on GitHub generates a report on unused Microsoft 365 licenses by identifying inactive users based on their last successful login activity.
In addition to querying the last successful login time of users, it lists licenses assigned to users whose logins are disabled. It also identifies licenses assigned to user accounts that have never logged in. Details, including what the script can filter out, can be found in the commented script.