I have users with thousands of emails, but I need to get only unread emails from specific people. I have the following call, but it does not work for me.
curl -i https://graph.microsoft.com/v1.0/me/messages$filter=From/EmailAddress/Address eq ' alerts-noreply@mail.windowsazure.com ' H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Bearer token ....' { "error": { "code": "BadRequest", "message": "Unsupported segment type. ODataQuery: users/020f1da4-031d-4....26513bb0/messages=From/EmailAddress/Address", "innerError": { "request-id": "2aaaaeb...42-ffc6d0e44f3d", "date": "2017-01-24T01:30:44" } } }
How can I receive emails from the MS Office API "FROM" of specific people without receiving all emails in our system?
source share