I am trying to get the drive items using Graph api.
The filter currently i am trying to use is to get the name value. For example: the DriveItem name is “Business Impact Statement”, i am sending request to get the name which contains “Impact”. But the “contains” is not working.
Below Graph API call works:
GET request “https://graph.microsoft.com/v1.0/drives/{mydriveID}/children?%24filter=startsWith(name,’Business’)&top=50”
This is not working:
https://graph.microsoft.com/v1.0/drives/{mydriveID}/items/01QF6LORXENNIWR42BQNGLYGMZSMMBAUZ5/children?%24filter=contains(name,’Statement’)&top=50
My expectation is even if i search with the contained value in the name, the graph api should return the result. Is there something am i missing here? Could someone please advise how to handle this scenario using Graph API?