On SharePoint server, I am trying to copy a file with Shared drive's folder through C# code. But its not get working shows in the logs 'Access denied'. The user credentials I used in code has Read/write/Read & Execute/Modify permission. If I apply the Authenticated User permission it get work. Also, I don't want to apply the Everyone, Network, Authenticated User permission on the folder.

Can anyone please advise which SharePoint server account permission I have to use in the code and which permission I have to add on the folder so that file gets copy.

  • What do you mean by using “Shared drive”, “authenticated user”? What for. Of authentication are you using and what version of SharePoint are you using. This issue may be readily disposed of. Jan 6, 2022 at 6:21

1 Answer 1


At least, the account should have edit permission.

  • Account has edit permissions, but still not get working. Jan 1, 2022 at 14:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.