azure AD guest users list

kanupriya 80 Reputation points
2024-03-08T13:53:35.7+00:00

hello,

how can i extract complete list of guest account/users in m tenant

i ran Get-AzureADUser -Filter "UserType eq 'Guest'" | select DisplayName, Mail but it is not giving complelet list of accounts

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ghosh, Subrata 0 Reputation points
    2024-03-08T14:25:02.64+00:00

    Just add the switch -All to be value true

    Get-AzureADUser -All $true -Filter "UserType eq 'Guest'" | Select DisplayName,Mail