Bulk Export of Azure AD user

Copper Contributor

How to Bulk Export of Azure AD user -just members with blank first name and last name from powershell into csv file format?

Recently I have added a lot of users with just Display name, so I left the first\last name blank to avoid some conflict but now I need to find them to edit them.



2 Replies

@sofo-83 This should work:


Get-ADUser -Filter 'GivenName -notlike "*" -and SurName -notlike "*"'
Did this answer your question?