msgraph-sdk-dotnet icon indicating copy to clipboard operation
msgraph-sdk-dotnet copied to clipboard

Unable to get calendar invite in attachments of message

Open roboza opened this issue 6 years ago • 3 comments

I am working in .NET and trying to get a calendar invite within a message. When I do a query

_client.Users.me.Messages["aaa..."].Attachments.Request().GetAsync()

The result does not have the invite in the list of attachments.

If I call

_client.Users.me.Messages["aaa..."].Request().Expand("attachments".GetAsync()

I still get no attachments excep the invite information is in in AdditionalData collection

I have no idea how to get the attachment into the attachment list and every tutorial and code snippet I have seen have told me to access the attachment directly using the .Attachments["ID"] but I don't have the ID so can't access it.

Anyone else having a similar problem? AB#7221

roboza avatar Aug 31 '20 17:08 roboza

Is the calendar invite an .ics attachment? Can you demonstrate whatyou want to happen in Graph Explorer?

Can you provide more information:

  • Link to documentation you're using.
  • Sanitized http request and response capture.

MIchaelMainer avatar Sep 03 '20 16:09 MIchaelMainer

Ping @roboza

andrueastman avatar Jan 18 '21 11:01 andrueastman

@roboza Closing this for now due to inactivity. Please reopen if need be.

andrueastman avatar Jun 07 '21 08:06 andrueastman