Hi All,
I'm working on a script and i can call the below graph api endpoint
without any issue. But i would like to use filter like so to list the documents that a user has viewed or modified for a specific document library.
var srchStr = "ABC" - Name of site
graphEndPoint: "https://graph.microsoft.com/v1.0/me/insights/used?$filter=ResourceVisualization/containerDisplayName eq '"+ srchStr + "'"
graphEndPoint:"https://graph.microsoft.com/v1.0/me/insights/used?$filter=substringof('"+ srchStr + "', ResourceVisualization/containerDisplayName)"
But i keep getting error
My goal is to list the documents that a user has viewed or modified for a specific document library.{"error":{"code":"BadRequest","message":"Invalid filter clause","innerError
Is this possible and thanks in advance