[BUG] When batching, Invoke-PnPSPRestMethod DELETE operations have multiple "IF-MATCH" headers #4837
Closed
3 of 6 tasks
Labels
bug
Something isn't working
pending PnP Core merge
Waiting for a PR in PnP Core to be merged first
reproduced
Issue reproduced after testing
Expected behavior
New-PnPBatch
should not be making requests with duplicate headers.Actual behavior
Throws an error message: InvalidOperation: The header 'IF-MATCH' was specified multiple times. Each header must appear only once in a batch part.
Steps to reproduce behavior
Run this script (replacing
@(1,2,3)
with user IDs in the site with active PnP context:What is the version of the Cmdlet module you are running?
2.12
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: