If we are crawling sharepoint online, we can access these data from API using:
- MS graph API or
- SharePoint REST API (CSOM, ODATA)
All of our code uses the CSOM rest API for SharePoint.
But, for each list item in a list, we would like to get the Graph ID that corresponds to the List Item ID. That way, we store an ID that is compatible with the MS Graph API in case we want to look up that document there.
Do SharePoint list item fields available from the Rest APIs contain a field with the MS graph id for the list item?
UPDATE:
After some research, I believe I was using the incorrect terminology for "Graph ID." Sounds like the correct terminology is "OneDrive Item ID" and they look like this: 01JSWLMSD5CVNHFLHNDNGLWP2WGNNGDEG2