Forum Discussion
Janaa
Dec 19, 2018Copper Contributor
SOAP interface for Sharepoint online
We have simple a .Net MVC application (A form with no user login) accessing Sharepoint 2010 using SOAP for creating list items. We are moving from old Sharepoint to Sharepoint online. Is it possible access the Sharepoint in the same way? Or is it possible to use Azure AD token to access the Sharepoint online using same soap calls?
- NotAlexIron Contributor
You will have to connect to SharePoint online using CSOM
http://www.sharepointbunning.com/2017/01/14/connect-to-o365-or-on-premise-sharepoint-csom/
Then change your soap calls to to csom calls
http://www.sharepointbunning.com/2017/01/16/create-list-item-csom/
I would just hardcode an account to connect to SharePoint when the form is submitted.
Hope that helps