cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NSimpraga
Level: Power Up

Attaching a small .mp4 video to your Flow generated mail

Hi all,

 

I am building a Flow for automatically sending an introductory mail to our new employees which has a number of attachments in it.

I successfully fetched the pdfs from Sharepoint and attached them to the mail using the Get file contents action. Only when I fetch and attach a small 5MB tutorial video to the mail the Flow stops working, doesn't want to send the mail and throws a Bad Gateway error.

 

When I manually send the mail I can normally attach the video and send it, no biggie. Flow can't do it for some reason.

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Attaching a small .mp4 video to your Flow generated mail

Hey @NSimpraga ,
The V2 Office O365 Outlook actions use the graph API which has a max limit of 4MB currently... this is detailed on the connector documentation - https://docs.microsoft.com/en-us/connectors/office365/ 
The V1 actions whilst deprecated don’t use the graph API and support larger attachments.... might be a temporary work around but you may not be able to see them (I can't).
You could also try adding the attachments to a zip file (.zip) using the Encodian ‘Add to Archive (ZIP)’ action but whilst you might reduce the attachment size it’s not a robust solution in isolation.

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Attaching a small .mp4 video to your Flow generated mail

Hey @NSimpraga ,
The V2 Office O365 Outlook actions use the graph API which has a max limit of 4MB currently... this is detailed on the connector documentation - https://docs.microsoft.com/en-us/connectors/office365/ 
The V1 actions whilst deprecated don’t use the graph API and support larger attachments.... might be a temporary work around but you may not be able to see them (I can't).
You could also try adding the attachments to a zip file (.zip) using the Encodian ‘Add to Archive (ZIP)’ action but whilst you might reduce the attachment size it’s not a robust solution in isolation.

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
NSimpraga
Level: Power Up

Re: Attaching a small .mp4 video to your Flow generated mail

Oh wow, a bit disappointing but thank you for the info!

Ended up uploading the video to Sharepoint and just sharing the link to it. At least I know why it doesn't work now.

 

Thanks again!

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,349)