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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,391)