Forum Discussion
SharePoint.Files() works but SharePoint.Contents() won't authenticate
Anonymous - I appreciate your comments. I have tried Table.Buffer() is some ill-performing queries but with limited success. I have not tried Binary.Buffer() but will give it a look. For the original question though it is not much help as I can't get past the SharePoint.Contents() function as it errors out on authentication.
FWIW - Since my original post I have tried SharePoint.Contents ("mysite",APIVersion = 14) and got past the authentication issue, but general performance is on the same order as SharePoint.Files().
- andyoliver2 years agoFrequent Visitor
I have exactly the same issue here.
But... a few users in my organization are able to use SharePoint.Contents without any problems.Other users are not able to use SharePoint.Contents due to the authetication problem you mentioned.
I still could not determine why this works with a few users. Different Sharepoint priviledges?
EDIT: Yes, I confirmed that different Sharepoint priviledges makes the whole difference.
I asked to change temporarily my priviledge to "site owner" and now SharePoint.Contents works flawlessly.- RafaelReis2 years agoRegular Visitor
Hello! I'm having the exact same issue. Do you get past from the Sharepoint Owner limitation?