Hi,
I'm creating a Power Automate flow to track emails from a shared inbox, create them as email records with the relevant attachments etc. (Our system isn't capable of being set up with the shared inbox as a queue).
I originally was going to use the Add a new row, create an email record with relevant lookup fields etc, however this was very complicated due to the number of lookups and conditions needed to ensure that the right GUID was found for the right table for the Activity Parties (i.e. the To, From, CC fields).
I instead found a pre-built action - DeliverPromoteEmail, which takes string inputs from the email in question, creates the relevant email activity record (with lookups as appropriate) and then I can link it to the correct incident with an "update row" action..
HOWEVER when creating an email record with attachments, the attachments are not being created - Dynamics warns that they are restricted filetypes (they aren't) or couldn't be created for another reason.
I am passing to the action an array of attachments which contains:
where content is the contentBytes from Outlook.
Am I missing something?
The DeliverIncomingEmail action seems like it should be an alternative, but it doesn't work in Flow.