Add File Attachment to Message
Adds a file attachment to a message in Microsoft 365 Outlook.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
The draft or message ID to attach the file to.
stringrequired
Name of the file attachment.
stringrequired
MIME type of the attachment content.
stringrequired
Base64-encoded file content. Microsoft Graph supports this action for attachments under 3 MB.