Bulk delete records AzureAD

AdminMRE 26 Reputation points
2021-09-15T12:21:42.677+00:00

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.
19,473 questions
0 comments No comments
{count} votes

Accepted answer
  1. Devaraj G 2,091 Reputation points
    2021-09-15T12:40:33.547+00:00

    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.)

    https://techcommunity.microsoft.com/t5/windows-powershell/bulk-update-azure-ad-with-user-attributes-from-csv/m-p/1374479

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AdminMRE 26 Reputation points
    2021-10-21T09:16:03.95+00:00

    Thank you for your help :)

    0 comments No comments