Using the Microsoft.SharePoint.Client namespace in a C# code, I am trying to access a SharePoint List but I am getting a 403. Is it because the Microsft List I am trying to access is on a different computer on the internet and the program has to be on the same "ecosystem"? Is there a way around this?
How do I fix a 403 error with C# when trying to access SharePoint
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Vinay AyinapurapuRank #179 · 13.6K reputationPosted Jan 26, 2024, 4:53 PM EST
may i know what environment it is? is it online of on-prem?
William Thompson155 reputationPosted Jul 16, 2024, 9:18 PM EDT
It is on prem.
But I think the security set up is so tight that it is not possible.
I am thinking of solving this using Firfox Selenium