cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
godala_vamshi
Helper III
Helper III

Send Email from Canvas App on behalf of Service account email

Hello, 

 

Not sure if this is something possible, I have a scenario were an email should be sent to user from specific email account on button click, I've added something like below on button click which works fine when I set 'From' as my email and when I click to send that email but when I change the 'From' to service account email, I am getting below error.

I understand sender needs permissions to that email account but since we have above 300 users for App, we cannot give that email permission to all the users on O365 separately, isn't that permissions provided when I share the App? and is there any better approach for my case ?   

godala_vamshi_0-1624491760301.png

godala_vamshi_1-1624491817665.png

 

Thank you

 

 

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @godala_vamshi ,

One solution would be to write a Flow with your Service Account triggered by "when an item is created" and then send all the parameters to the target list as a new record. The email will then come from your Service Account.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

@WarrenBelz Thank you for suggestion. I thought of creating a Flow but I don't want to add another Flow just for sending an email.  

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,985)