Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
300 views
in Technique[技术] by (71.8m points)

c# - Microsoft Graph REST API v1.0 Get listItem(10.000.000 List Item from a SharePoint list)

I am using Microsoft solution(Ref. Link: https://docs.microsoft.com/en-us/graph/api/listitem-get?view=graph-rest-1.0&tabs=csharp) for our enterprise software(CSOM+C#). We have more than 10.000.000 item in our SharePoint List and we would like to retrieve all of them to do specific transactions(ex: compare items from SharePoint List with items from a CSV-File(File Server)). How we can do it?

I am asking for your valuable solutions/suggestions.

Best, Sezgin

question from:https://stackoverflow.com/questions/65843599/microsoft-graph-rest-api-v1-0-get-listitem10-000-000-list-item-from-a-sharepoin

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

First you can use Microsoft Graph API's pagination to get the good number of items in it. Then get the data, compare the SharePoint list with items from a csv file based on your business logic.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...