Error in user profile Bulk Import - Get-PnPUPABulkImportStatus

%3CLINGO-SUB%20id%3D%22lingo-sub-1175031%22%20slang%3D%22en-US%22%3EError%20in%20user%20profile%20Bulk%20Import%20-%20Get-PnPUPABulkImportStatus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1175031%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20working%20on%20a%20script%20to%20create%20a%20JSON%20file%20to%20use%20with%20the%20PnPUPABulkImport%20commands.%20I'm%20able%20to%20generate%20a%20JSON%20file.%20The%20New-PnPUPABulkImportJob%20returns%20an%20object%20with%20information%20about%20the%20job.%20I%20can%20see%20that%20the%20JSON%20file%20gets%20uploaded%20to%20the%20correct%20Document%20Library%2C%20and%20the%20Get-PnPBulkImportStatus%20command%20returns%20a%20status%20of%20%22Processing%22.%26nbsp%3B%20Eventually%2C%20I%20get%20a%20status%20of%20Error%2C%20with%20an%20Error%20value%20%22InvalidDataFile%22%20and%20ErrorMessage%20saying%20that%20it%20is%20unable%20to%20retrieve%20the%20error%20information.%26nbsp%3B%20I%20thought%20that%20error%20information%20would%20be%20put%20in%20a%20new%20folder%20in%20the%20Document%20Library%20where%20the%20JSON%20is%2C%20but%20that's%20not%20happening.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere's%20a%20good%20place%20to%20look%20for%20the%20problem%20with%20my%20JSON%2C%20and%20how%20the%20capture%20the%20error%20information%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1175031%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Visitor

I'm working on a script to create a JSON file to use with the PnPUPABulkImport commands. I'm able to generate a JSON file. The New-PnPUPABulkImportJob returns an object with information about the job. I can see that the JSON file gets uploaded to the correct Document Library, and the Get-PnPBulkImportStatus command returns a status of "Processing".  Eventually, I get a status of Error, with an Error value "InvalidDataFile" and ErrorMessage saying that it is unable to retrieve the error information.  I thought that error information would be put in a new folder in the Document Library where the JSON is, but that's not happening.

 

Where's a good place to look for the problem with my JSON, and how the capture the error information?

 

Thanks

0 Replies