web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Tracking emails from a shared inbox

(1) ShareShare
ReportReport
Posted on by 50

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:

pastedimage1643627341574v1.png 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.

I have the same question (0)
  • Suggested answer
    SBeal Profile Picture
    50 on at

    I've resolved this - I needed to decode the contentBytes into binary and then change the column name to body_binary

  • Nya Profile Picture
    29,064 on at

    Hi,

    It's great to hear that.

    Thanks for your sharing!

  • icimasa Profile Picture
    390 on at

    Hi,

    thnaks for sharing, I'm looking into the same issue myself so this is great start.. :)

    regards

    Martin

  • SBeal Profile Picture
    50 on at

    In case it is helpful, this is the set up of the bound action:

    pastedimage1643707903329v1.png
    where the if statement is: pastedimage1643707923352v2.png

    the RowID is a PowerAutomate generated GUID

    and the attachments is an array with the selected fields as in my OP.

    There is then an Update Row action below this to set the regardingobjectid (using the generated guid to pick the right row to update).

  • icimasa Profile Picture
    390 on at

    Perfect,

    thanks mate.. :)

    regards

    Martin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 166

#2
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans