title: Filtering Event Messages using Microsoft Graph REST API
body: <p>I would like to query only <strong>Event Messages</strong> from Outlook Mail using the Microsoft GRAPH API. I could not find any information on this in the documentation for Microsoft Graph. </p>
  
  <p>I have tried the following queries on the Graph Explorers, but none worked. It seems like Microsoft Graph does not support the IsOf (which filters the type of an object) filtering option. However, I have found that this feature is supported and documented for Azure GRAPH API.</p>
  
  <p><a href="https://graph.microsoft.com/v1.0/me/messages" rel="nofollow noreferrer">https://graph.microsoft.com/v1.0/me/messages</a>?$filter=isof('#microsoft.graph.eventMessage') eq true</p>
  
  <p><a href="https://graph.microsoft.com/v1.0/me/messages" rel="nofollow noreferrer">https://graph.microsoft.com/v1.0/me/messages</a>?$filter=isof('#microsoft.graph.eventMessage') </p>
  
  <p>Does anyone know if the operation I tried to do is supported by the Microsoft Graph API? If not, is there anything else I can do to query only Event Messages? </p>