me.message
Get attachment
Changed onRead the properties, relationships, or raw contents of an attachment attached to a user message. An attachment can be one of the following types: fileAttachment, itemAttachment, or referenceAttachment.
get/me/messages/{messageId}/attachments/{attachmentId}
Request
- Base URLhttps://graph.microsoft.com/v1.0
- AuthOAuth 2Authorization codehttps://login.microsoftonline.com/common/oauth2/v2.0/authorizeClient credentialsToken URLhttps://login.microsoftonline.com/common/oauth2/v2.0/tokenScopesMail.Read, Mail.ReadWrite, Mail.Send
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
$selectstring[]
Select properties to be returned
$expandstring[]
Expand related entities
Response
Retrieved attachment
Changes
- info
added the optional property
/to the response with the status
- info
- info
api operation id
me.messages.GetAttachmentsremoved and replaced withgetAttachment
- info