UserProfile Batch Update no longer works on O365

Copper Contributor

I have been using the "API for Bulk Updating Custom User Profile Properties for SharePoint Online" located here, by starting with the sample code here: https://github.com/SharePoint/PnP/tree/master/Samples/UserProfile.BatchUpdate.API

 

Up until approximately mid January 2018, this was working correctly. No the process is failing with an Error status: InternalError.  Nothing in my code or the upload file has changed during this time period.

 

Tried using the PowerShell version, but it has not method for retrieving the job status by tenant.GetImportProfilePropertyJob(workItemId).  Also tried reducing the updated properties to only one property.  Tried reducing the JSON formatted text file to update only one User Profile. always results in the same failure. Upon submit, I see this:
ID: 753c7900-19d8-4a26-b12c-9c49d09bf295 - Request status: Submitted - Error status: NoError

After a few minutes, I see this:
ID: 753c7900-19d8-4a26-b12c-9c49d09bf295 - Request status: Processing - Error status: NoError

After more time, I see this:
ID: 753c7900-19d8-4a26-b12c-9c49d09bf295 - Request status: Error - Error status: InternalError

JobError.PNG

 

Has there been a change on the tenant side?  is there someway that I can get more detail on why it is failing?  Any help would be greatly appreciated.

1 Reply

Hi Bill, 

 

I also have the same problem. 

 

Did you get any feedback so far? 

 

I have opened an issue on GitHub. Hope this helps. 

 

https://github.com/SharePoint/PnP/issues/1808

https://github.com/SharePoint/sp-dev-docs/issues/2414