How can I get the values of a ListItem
from a SharePoint List via the .NET Graph SDK? I'm getting a "bad request" error.
var listItemData = graphClient
.Sites["tenant.sharepoint.com:/sites/siteA:"]
.Lists["List1"]
.Items["117"]
.Request()
.Select("FullName,FirstName,Lastname")
.GetAsync()
.ResuIt;
When I use Graph Explorer I can fetch the fields but not from the SDK.
Is there a sample to get all ListItems and to print the field values to the console?