Forum Discussion

Inkey_Solutions's avatar
Inkey_Solutions
Copper Contributor
Apr 01, 2022

Work with SharePoint using C# code

Hi All,
 
Need help regarding SharePoint Authentication.
 
There is WS-Trust Authentication used to connect with SharePoint using C#. As Microsoft has removed WS-Trust, does this affect SharePoint connection as well OR it is for Microsoft Dataverse? Please note that we are using username and password to work with SharePoint API.
 
Use of Office365 authentication with Microsoft Dataverse
 
 
Is there any way to connect with SharePoint API using Client Id and Client Secret? So, we can simply replace Username and Password with that?
 
What would be the ideal way to work with SharePoint using C# code? SharePoint API OR SharePoint Library? That would be great if you share some reference links.
 
Any help will be appreciated.
 
Thank you

Resources