I'm using graph API v1.0 to query our Sharepoint site
This worked back in December of 2020
The only mention of ContentSource/Provenance in the MS Docs mentions that ContentSource is only relevant when we're searching for externalItems (which we're not).
I'm sending this as my POST body (with <host> and <site-name> replaced with our info)
I've tried with and without the path value in the queryString (tried with just "a"), same results
{
"requests": [
{
"entityTypes": [
"listItem"
],
"query": {
"queryString": "a path:\"https://<host>/sites/<site-name>\""
},
"fields": [
"Title",
"Description",
"Answer",
"listId",
"listItemId"
]
}
]
}
Response: 500
{
"error": {
"code": "System.NotSupportedException",
"message": "\r\n Provenance None is not supported for conversion to ContentSource",
"innerError": {
"date": "2021-03-15T18:21:00",
"request-id": "22f77433-3f9e-441f-bccb-d362c7540f76",
"client-request-id": "22f77433-3f9e-441f-bccb-d362c7540f76"
}
}
}





