Share via

Graph Search API - retrieve site columns values

Pawel Serafin 20 Reputation points
2025-10-23T17:02:23.0066667+00:00

Im successfully using graph search API to retrieve driveItems & listItems for specified query. Unfortunately I am unable to attach to returned data site column values.
Ive tired to include them by specifying fields property in request =>

            "fields": [ "MySiteColumn" ],

or separately setting expand parameter =>

"expand": [ "fields(select=MySiteColumn)"  ],

but still site column value is not being included, mine search request looks like

{
    "requests": [
        {
            "entityTypes": [ "driveItem","listItem" ],
            "query": { "queryString": "dlcDocId:BCUAT-1449193218-16293" }
        }
    ]
}

I would like to know if it is possible to retrieve SP site column value in search result - and if so - then how I can do this.

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.