Forum Discussion
ratnesh2927
Jan 20, 2023Copper Contributor
Not able to Move the file from one site collection to another due to Sensitivity label
Hello Members, I have developed a console application in C# to move the document from one site collection to another. The code fails with message “Exception from HRESULT: 0x87FA0010” and ServerE...
mattias123
Jun 22, 2023Copper Contributor
ratnesh2927 Did you manage to find a solution?
Im having a similar issue where im trying to move a file from one document library to another with C#.
But my code is complaining on OpenBinaryStream. but still giving the exact same error as you mentioned.
- RonLevyJun 29, 2023Brass Contributor
Today Mattias and myself found the reason for this problem.
We had a conditional access policy in Azure which was causing such issue.
As soon as we excluded the related service account of our application from the policy
CP312 [Sharepoint Online] - Require HAADJ or compliant device for SPO Service Accounts
the error was gone. We hope that helps others. Thanks a lot Mattias for beeing so patience.
Thx, Ronny