{"id":3565,"date":"2019-10-22T12:11:02","date_gmt":"2019-10-22T19:11:02","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=3565"},"modified":"2021-08-27T14:05:22","modified_gmt":"2021-08-27T21:05:22","slug":"attaching-large-files-to-outlook-messages-in-microsoft-graph-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/attaching-large-files-to-outlook-messages-in-microsoft-graph-preview\/","title":{"rendered":"Attaching large files to Outlook messages in Microsoft Graph (preview)"},"content":{"rendered":"<p>Today, we\u2019re excited to announce the release of large file attachment support for Outlook messages via the Microsoft Graph beta endpoint. You can now attach files up to 150 MB to a message.\u00a0As always, message recipients can get the attachment metadata, or <a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/api\/attachment-get?view=graph-rest-1.0\">get the actual raw contents of the attachment<\/a>.<\/p>\n<p>We\u2019ve heard you loud and clear that the current file size limit of 4MB for uploading file attachments to Microsoft Graph is a major roadblock. With this API release, you can <a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/api\/attachment-createuploadsession?view=graph-rest-beta\">create an upload session<\/a>, and iteratively use PUT API calls to upload ranges of bytes of the file until you have uploaded the entire file. This approach effectively removes the 4MB upload limit and helps you upload attachments from unreliable networks.<\/p>\n<p>You can get started today by following the steps in\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/outlook-large-attachments\">Attach large files to Outlook messages<\/a>.<\/p>\n<p>Do note that upload sessions should be used for uploading files that are greater than 3 MB in size. For file sizes lower than 3 MB, you can continue to do a single <a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/api\/message-post-attachments?view=graph-rest-beta\">POST on the attachments navigation property of the message<\/a>.<\/p>\n<p>If you have any feedback or suggestions for these or other APIs, please let us know via the\u00a0<a href=\"https:\/\/microsoftgraph.uservoice.com\/forums\/920506-microsoft-graph-feature-requests\">UserVoice forum<\/a>.<\/p>\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we\u2019re excited to announce the release of Large file attachment upload support for Outlook messages via the Microsoft Graph beta endpoint.<\/p>\n","protected":false},"author":69107,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[12],"class_list":["post-3565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","tag-outlook"],"acf":[],"blog_post_summary":"<p>Today, we\u2019re excited to announce the release of Large file attachment upload support for Outlook messages via the Microsoft Graph beta endpoint.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/3565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69107"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=3565"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/3565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=3565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=3565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=3565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}