PowerShell script to get some AzureAD logins stats

 The information you get in the Azure portal about logins are decent, but some time you need some statistic or insight fast and don't want to use the graphic interface or down load csv/json files.

I have created som script and favourite lines and uploaded it to my Github repo

There is a menu based script to quick get some stats about successful and unsuccessful logins, apps used and login locations called Get-Last7DaysLogin.ps1

Check-UserLogins.ps1 - will based on first name of user (or start of first) search for all users with that name and give you the time of last unsuccessful login of those users

Check-LastUnsuccessfullLogin.ps1 - will based on first name of user (or start of first) search for all users with that name and give you the time of last unsuccessful login of those users
The CollectionOfQuickCommands.ps1 are as the name indicate, just some parameters I use with the Get-AzureADAuditSignInLogs command. Filtering on successful, unsuccessful and dates.
You will find everything HERE

  




Popular posts from this blog

Installing Android on a Hyper-V virtual machine

MDT: TimeZoneName and index number list

Quick guide on how to run BgInfo background as Group Policy login