Get Office 365 inactive users using the audit log with PowerShell

September 18, 2019By Maarten PeetersAzure Active Directory, Office 365, PowerShell No Comments

Most blogs regarding the retrieval of inactive users are using the mailbox statistics to get the last logon time. Retrieving the mailbox statistics is a fast solution but it will not retrieve users that don’t have a mailbox like admin accounts or external accounts. This script will retrieve the audit data for each user and … Read More

Office 365 subscription and license overview with PowerShell

September 4, 2019By Maarten PeetersAzure Active Directory, Office 365, PowerShell No Comments

Managing licenses and keeping track on who has which license assigned and how can be a time-consuming task. I’ve created a PowerShell script to summarize the subscriptions and licenses available and assigned in an Office 365 tenant. It is possible to assign licenses via Azure Active Directory Groups where each member will receive the assigned … Read More