문제

Have anyone tried to connect Sharepoint url to access sp vm hosted on azure through C# CSOM

using (ClientContext ctx= new ClientContext(siteurl))
{
............
.
.
.
.
.
..
.
.
.

ctx.Load(web);
ctx.ExecuteQuery();

}

this code doesn't work, getting

"Internal Server Error"

도움이 되었습니까?

해결책

This is NOT Supported.

To connect to a SharePoint site hosted in Azure SharePoint Virtual Machine, you should use SharePoint REST endpoints instead of using CSOM.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top