Re: Creating a new Email Attachment in Dynamics 365
At least with Azure logic app I found a workaround by hacking the connector in the code view.
You create a new record of type ActivityMimeAttachment.
What you are missing there is body, filename and mimetype in the Logic App Connector. But those missing elements you can add using the Code View of the Logic App.
Just add the following lines in the right place in your code view and you will get the missing fields for Dynamics available (see screenshots):
"body": "",
"filename": "",
"mimetype": "",


The remaining issue is, that the connector requires you to fill out the field "_attachmentid_value" in order to save your flow in design view. You can remove the value and successfully save in the code view (see screenshot). But after you remove the required value in the code view you are not able to save the graphical design view anymore. For that I helped myself by creating a Sub-Logic App only doing the attachment step, that i only save in code view. (Google nested Logic Apps for more info on how to call nested logic apps)
**bleep**ty, but it works. Please Mircosoft, do something about that.