pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
922 stars 325 forks source link

Allow case-insensitive column name `Id` on `spo listitem batch remove` #6419

Open martinlingstuyl opened 1 month ago

martinlingstuyl commented 1 month ago

On the m365 spo listitem batch remove command, a CSV file is expected with a column named ID. The check for this column is case sensitive. So if I have a CSV with a column named Id, the command will fail with the error Error: The file does not contain the required header row with the column name 'ID'.

It's a small enhancement, but we should make the column name case-insensitive

Saurabh7019 commented 1 month ago

Can I make this change?

milanholemans commented 1 month ago

Sure, all yours!