Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Users Connect-MgGraph -TenantId 'ededa4fb-f6eb-4398-851d-5eb3e11fab27' -Scopes 'User.Read.All' -NoWelcome # List all users to find Leslie $allUsers = Get-MgUser -All -Property DisplayName,Mail,UserPrincipalName,AccountEnabled,Id Write-Output "--- All Users in Tenant ---" $allUsers | Format-Table DisplayName,Mail,UserPrincipalName,AccountEnabled -AutoSize Disconnect-MgGraph