How come this is working https://graph.microsoft.com/v1.0/me/onenote/notebooks?filter=tolower(name) eq 'my notebook'
Screenshot from Graph Explorer
and when I try to code the same in C#, I am getting the below error Code: BadRequest Message: Invalid filter clause Inner error: AdditionalData: date: 2020-09-02T20:01:24
I'm using the below code.
var NoteBook = await GraphClient.Me.Onenote.Notebooks.Request().Filter($"name eq 'My Notebook'").GetAsync();