Hi all,
in order to have an aduser list sorted by company name, i tried
Get-AzureADUser -All $true | select UserPrincipalName -ExpandProperty CompanyName
Get-AzureADUser -All $true | Select-Object -Property CompanyName
both commands give only a list of the companies
Get-AzureADUser -All $true | select UserPrincipalName alone gives the list of ad users
and with the -ExpandProperty CompanyName we have only the list of the companies without the users
any idea how to display both UPN and company name ?
it seems simple but honestly after several hours and hundreds of powershell commands (true, true) i didn t figure it out .
sincere thanks for any help
regards