Skip to content

mzmaili/Get-AzureADUsers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Get-AzureADUsers

Coming from the fact that we have a challenge when it comes to downloading the full list of Azure AD users from Azure AD portal if you have large number of users as this attribute is not available either in AzureAD or MSOnline modules, Get-AzureADUsers.ps1 PowerShell script resolves this challenge as it retrieves Azure AD users with their last sign in date.

Script requirements

  • Make sure to have 'c:\temp' folder

How to run the script

Download and run the Get-AzureADUsers.ps1 script from this GitHub repo.

Why is this script useful?

  • To retrieve Azure AD users with their last sign-in details.
  • To generate a CSV report with the result.

User experience

PowerShell console output:
Alt text

CSV output:
Alt text

Frequently asked questions

Does this script change anything?

No. It just retrieves data.

Should tenant have a specific Azure AD license?

No, its enough to have Azure AD free license.

What data does this script retrieves?

Get-AzureADUsersLastSignIn script retrieves the following details for each user in the tenant:
Object ID, Display Name, User Principal Name, Account Enabled, onPremisesSyncEnabled, Created DateTime (UTC), Last Success Signin (UTC)

Does this script require any PowerShell module to be installed?

No, the script does not require any PowerShell module.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published