Expanding and Filtering MS Graph API Does Not Work

前端 未结 2 1315
故里飘歌
故里飘歌 2021-01-25 09:28

I need to get an eventMessage from a user\'s mailbox that is associated with a specific event.

I have the event\'s iCalUId but I am unable to f

2条回答
  •  北海茫月
    2021-01-25 09:46

    Graph doesn't support including a $filter in the $expand. From the documentation:

    $expand:

    • No support for nextLink
    • No support for more than 1 level of expand
    • No support with extra parameters ($filter, $select)

    What you can do is leverage the $search parameter to parameter to find all of the event messages ($search="kind:meetings) and then $expand the associated event:

    /me/messages?$search="kind:meetings"&$expand=microsoft.graph.eventMessage/event
    

提交回复
热议问题