Provenance None is not supported for conversion to ContentSource - System.NotSupportedException - POST to graph.microsoft.com/v1.0/search/query

Lukas Anderson 1 Reputation point
2021-03-15T18:32:04.677+00:00

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"
        }
    }
}
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,569 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,664 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jerryzy 10,566 Reputation points
    2021-03-16T06:53:31.017+00:00

    Hi @Lukas Anderson ,

    I tested /search/query in Graph Explorer and it's working as expected per the test result:

    78201-77978-snipaste-2021-03-16-14-48-47.png

    Can you please try again later to see if it works ? Feel free to post update.

    If the issue still exists in your side, then the issue is possibly related to the Service Incident in Microsoft 365: https://status.office365.com/
    You may check the service health status of your tenant via: https://portal.office.com/adminportal/home#/servicehealth

    Microsoft is working on this issue actively, and we will be getting back to you as soon as the issue is resolved.

    Thanks
    Best Regards


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Lukas Anderson 1 Reputation point
    2021-03-16T16:21:17.977+00:00

    Unfortunately it's still happening after that incident
    I've added more context (perhaps we're missing some header?) & the request IDs
    I get the same behavior with and without the path value in the queryString

    78363-image.png

    78324-image.png

    78317-image.png


  3. Lukas Anderson 1 Reputation point
    2021-03-17T16:01:33.033+00:00

    I get the same response in Graph Explorer
    78796-image.png