me.message
Create large file attachment upload session
Changed onCreate an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified message. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file smaller than 3 MB, do a POST on the attachments navigation property instead. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries.
post/me/messages/{messageId}/attachments/createUploadSession
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.
Request body
Response
Success - returns an upload session
Changes
- info
api operation id
me.messages.message.attachments.createUploadSessionremoved and replaced withcreateUploadSession
- info
- info
api operation id
createUploadSessionremoved and replaced withme.messages.message.attachments.createUploadSession
- info