I'm trying to run this command for every user to verify they have an account.
Get-MSOLUser -UserPrincipalName joe.user@mycompany.com
I would like to run this from a csv file and just export the errors or those "Not Found". Does anyone have a script that can do this? Much appreciated as we have 4000 users I need to check. Thanks!