You have to append /$value to the uri, as discussed here: https://old.reddit.com/r/PowerShell/comments/vd1q7r/get_o365_attachment_that_is_messagerfc822/
ContentType of an Item Attachment (Outlook Item - Message) is always coming as null while reading using Graph API
Sundaramoorthy, Srinivasan
1
Reputation point
We are facing an issue while reading an email with item attachment (message outlook Item) using Graph API. When we fetch the email using Graph API from test environment - it gives me the proper content type for the message item as "contentType": "message/rfc822", But when we fetch the similar email with attachment (message outlook item) from production it returns the content type as null. Would like to understand what is causing the issue to give the proper content type?