Bulk delete records AzureAD

AdminMRE 26 Reputation points

I would like to leave the LastName field empty for all users in my domain in AzureAd. In addition to this field I also need to leave other fields empty. Is there any way to mass delete these fields for multiple users?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,094 questions
0 comments No comments
{count} votes

Accepted answer
  1. Devaraj G 2,091 Reputation points

    HI, you can leverage PowerShell commands to perform the bulk action. Set-AzureADUser with pipeline.

    refer the sample article below and modify the user parameters according to your requirements (ie last name and other fields which you like to clear out.)


    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AdminMRE 26 Reputation points

    Thank you for your help :)

    0 comments No comments