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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,603)