get-O365InactiveUsers
3.3
This script will generate a HTML file to list all inactive users and the last logon of users based on the audit log.
Inactive users will normally be collected using the users mailbox but external and users without a license don't have a mailbox.
We will be using the audit log to find successful and failed logons for internal users and page viewes for external users.
I
Inactive users will normally be collected using the users mailbox but external and users without a license don't have a mailbox.
We will be using the audit log to find successful and failed logons for internal users and page viewes for external users.
I
This script will generate a HTML file to list all inactive users and the last logon of users based on the audit log.
Inactive users will normally be collected using the users mailbox but external and users without a license don't have a mailbox.
We will be using the audit log to find successful and failed logons for internal users and page viewes for external users.
It will take around 6-8 seconds per user as we are querying the log for each user.
Show more
Inactive users will normally be collected using the users mailbox but external and users without a license don't have a mailbox.
We will be using the audit log to find successful and failed logons for internal users and page viewes for external users.
It will take around 6-8 seconds per user as we are querying the log for each user.
Installation Options
Owners
Package Details
Author(s)
- Maarten Peeters - Cloud Securitea - https://www.cloudsecuritea.com
Tags
office365 inactive users audit AAD Azure Active Directory
Dependencies
This script has no dependencies.
Release Notes
Version 1.0: Original published version.
Version 2.0: Updated a few comment sections.
Version 3.0: Changed the example.
Version 3.1: Added AdminUPN parameter as Exchange Online otherwise closes the connection after 1 hour.
Version 3.2: Changed parameter name
Version 3.3: Updated a few comment sections.
FileList
- get-O365InactiveUsers.nuspec
- get-O365InactiveUsers.ps1