Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attached Word docs wrongly showing as message entities in Microsoft Graph API

The Microsoft Graph API is wrongly returning Word doc file attachments as message entities returned from the /me/messages endpoint.

The scenario to reproduce is as follows:

  1. Send yourself an email (or have someone else send you an email) with one or more Word doc file attachments

  2. Run the following query in Graph Explorer: https://graph.microsoft.com/v1.0/me/messages

  3. Notice that there will be one object which represents the email itself (this is correct behaviour) and one or more objects which are representations of the file attachments.

Could someone from Microsoft please get in touch regarding this as soon as possible? This is a major bug in the API which will probably cause issues for most applications using it.

P.S. This issue was previously raised and fixed, but it has reared it's head again... File attachments showing as message entities in Microsoft Graph API

May I also suggest that some automated tests are written around this issue to prevent it from happening again in the future?

like image 783
David de-Vilder Avatar asked Nov 07 '22 21:11

David de-Vilder


1 Answers

Thanks for reporting the issue, it should be resolved in the near future.

like image 126
Arun V Avatar answered Nov 29 '22 20:11

Arun V