cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JK2020
Frequent Visitor

Send email from Dyn365 with Power Apps

Hello Power Apps Community,

 

I am trying to add a functionality to my app that will send an email from Dyn365 using Power Apps. Right now, my app creates the email record in Dyn365 to which I assign the owner and the regarding value. I use Patch function to achieve this.

 

My problems are:

1. I don't seem to be able to add the Sender and Recipient values. In the UI these are LookUp records, while in Power Apps, in the 'Emails' dataset, both the "From" and "To Recipients" are of type String and Patching these Strings does not populate anything. I would expect to be able to pass the record (or GUID and type), but, like I said, both fields show String data type.

 

2. Even if i manage to populate these two fields, how do I send this email with Power Apps?

 

3. I am able to Patch the email template GUID to my email record, but the email body stays unchanged (as it there was no template). I tried adding _templateid_type:"templates" to my Patch function, but when I do, the server responds that the type is generated by the server. How can I use a template in my email with Power Apps.

 

Thanks,

2 REPLIES 2
v-siky-msft
Community Support
Community Support

@JK2020 

 

I am afraid it is not supported to send Dynamics CRM Email template from PowerApps.

You can use HTML to store the Email Template and use Office365 outlook connector to send Emails.

Reference: https://www.youtube.com/watch?v=ya5A4HLx27Q 

Sik

@v-siky-msftThank you for you response. To be clear, are you saying it's not possible to send Dyn365 email with template or does that apply to any email, with or without template?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,405)