I have a file called "ABC_file1.docx". I want to perform a search of a specific file name in a specific folder.
My code is:
var fileName = "ABC_file1.docx";
var files = _graphClient
.Drives[<My_Drive_ID>]
.Root
.ItemWithPath("My_Sub_Folder")
.Search(fileName)
.Request()
.GetAsync()
.Result;
Unfortunately this works not only for my file, but also for a similar file name, like "ABC_ABC_file1.docx", and that's not what i need.
How can I search for exact match?