'Reading singleValueExtendedProperties of an email attachment

I have an email message which has another email message as an attachment.

I am trying to read the singleValueExtendedProperties of the attached email message using below query, but it doesn't work.

I don't see singleValueExtendedProperties in the response.

https://graph.microsoft.com/v1.0/users/{mailbox}/mailFolders/Inbox/messages/
{messageId}/attachments/{attachmentId}?$expand=microsoft.graph.itemattachment/
item($expand=microsoft.graph.message/singleValueExtendedProperties(
$filter = id eq 'string 0x001A'))


Solution 1:[1]

According to the documentation, singleValueExtendedProperties are not available at mail attachment level.

Supported resources for singleValueExtendedProperties are:

  • calendar
  • contact
  • contactFolder
  • event
  • mailFolder
  • message
  • group calendar
  • group event
  • group post

When an email message with singleValueExtendedProperties is attached to the another email then singleValueExtendedProperties are lost.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user2250152