Additional Microsoft Entra services and features related to identity, access, and network security
Welcome to Microsoft Q&A
Hello Kavita Agarwal,
The error you are encountering is due to the internal structure of your CSV file.
Microsoft Entra ID requires a strictly formatted CSV template to process bulk operations.
In your provided file, you only have UserPrincipalName as the header. The bulk delete template actually requires the first row to be the version number (version:v1.0), and the second row to be the exact system column heading (User name [userPrincipalName] Required).
Instead of creating the CSV from scratch or a generic Excel export, it is always recommended to download the blank template directly from the portal to avoid these errors.
Go to Microsoft Entra ID > Users > All users.
Click Bulk operations > Bulk delete.
Click Download to get the latest CSV template.
Delete the third "Example" row they provide, paste your users' email addresses starting on row 3, and save it.
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!