Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Email attachment in d365 crm through console app

Posted on by Microsoft Employee

Hello all ,

I have been given poc to "write a console app for how to migrate e mails with attachment from source to target environment ?"

i wrote a code but it isn't working out so how can we achieve this using power automate 

i didn't get any suitable articles on it we don't have to attach sharepoint documents in it 

Thanks & Regards,

Ainee Ahsan

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,962 Moderator on at
    RE: Email attachment in d365 crm through console app

    Hi,

    You can look at below post to Create Email with Attachment from Power automate -

    linnzawwin.blogspot.com/.../send-email-from-dynamics-365cds-with.html

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Email attachment in d365 crm through console app

    Hi Ana,

    Requirement: we need to send emails with attachment in d365 crm and after that we need to migrate it from source to destination environment

    Can we follow the approach without using the 3rd Party tool 

    Thanks & Regards,

    Ainee ahsan

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Email attachment in d365 crm through console app

    Hi Ana,

    The requirement is we have to send emails with attachment in D365 CRM and  we have to migrate those emails with attachment from source to target environment .

    How to proceed i am unable to figure it out atleast help me with the functional points 

    Thanks & Regards,

    Ainee Ahsan

  • ananeto Profile Picture
    ananeto 144 on at
    RE: Email attachment in d365 crm through console app

    Hi Ainee,

    I have no experience with Power Automate, so I can't really help you with your specific problem. That said, is your code trying to migrate the e-mails and the attachments or just the attachments? For attachments, there are already commercial solutions for this problem (CB Dynamics 365 Seamless Attachment Extractor, for example), and I wonder why it would make sense to do a POC on it. Do you have any specific requirements for the POC? 

    Thanks,

    Ana

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Email attachment in d365 crm through console app

    Hi Bipin,

    Thank you for the suggestion but i am looking for power automate.

    Thanks & Regards,

    Ainee Ahsan

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,962 Moderator on at
    RE: Email attachment in d365 crm through console app

    Hi,

    What code you have written and what part is not working?

    Sample code to Create Email With Attachment -

    github.com/.../CRUDEmailAttachments

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Email attachment in d365 crm through console app

    Hi andrew ,

    Thank you for your suggestion but i am using power automate trial version and i am not able to understand how to approach this 

    pastedimage1643713259244v1.png

    I got this reference from an article : Create and Send Emails with Attachments in D365/Dataverse with Power Automate (d365geek.co.uk)

    but i am unable to understand the features higlighted in read would u brief me about that i mean how to use it 

    Thanks & Regards

    Ainee Ahsan

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Email attachment in d365 crm through console app

    Hello Ainee,

    I would recommend checking SSIS with KingswaySoft adapters. There is a starter pack that contains packages to migrate all the data including emails with attachments - www.kingswaysoft.com/.../Announcing-Migration-Starter-Pack-v30-for-Microsoft-Dynamics-365-Customer-Engagement-and-CRM-On-Premise

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans