pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Bulk Profile Imports and clearing dates

Open poneilcsgp opened this issue 11 months ago • 1 comments

I'm guessing this is either a framework or api issue but, fwiw, we're initiating the job through New-PnPUPABulkImportJob. When our HR system indicates that a user's bday should be hidden (when it was previously stored) we need to clear out the existing value in SPS-Birthday. We've tried setting the value in the JSON to:

  1. null - the import job appears to ignore the property and leaves the value as it was before
  2. "" (empty string) - the import job sets the value to January 1.

Is there a way to clear existing values from date fields when using Bulk Import jobs?

poneilcsgp avatar May 14 '25 15:05 poneilcsgp

I think you need to raise this under the /pnp/powershell repository, this is pnp/framework

johnnycardy avatar May 15 '25 10:05 johnnycardy