Added a bunch of new tools to the LCTools subsite, mostly old PowerShell tools I used for customers in the past that were still popular.
Duplicate Device detection and sunsetting: https://lieben.nu/tools/DupedDevices
Finding and cleaning up stale SPO sites:
https://lieben.nu/tools/SPOTrim
Finding and managing inactive guest users:
https://lieben.nu/tools/InactiveGuests
Finding and cleaning up inactive devices:
https://lieben.nu/tools/InactiveDevices
Running a Maester scan from your browser without PowerShell:
https://lieben.nu/tools/SimpleMaester
Running a Zero Trust Assessment from your browser w/o PowerShell:
https://lieben.nu/tools/SimpleZTA
Error executing request. Can’t connect to the mailbox of user Mailbox database guid: <some guid> because the ExchangePrincipal object contains outdated information. The mailbox may have been moved recently. Microsoft.Exchange.Data.Storage.MailboxInfoStaleException
if you’re getting the above, on april 30th 2026 Microsoft began enforcing that the X-AnchorMailbox header contains the actual mailbox identity (ID) (and @tenantId) instead of the generic SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} value.
This, however, is currently only enforced for specific in-mailbox commands, e.g. Get-ExoMailboxFolderPermission
If you’re using Michev’s admin api method, you may run into this 🙂
Microsoft 365, Azure, Automation & Code