cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Trying to send email from Service account using Send An email(V2) action in Flow which is triggered by PowerApps Button

I am trying to send an Email from Service account using Send and Email(V2) Outlook connector in Microsoft flow once PowerApps button triggers the flow.

But,the email is always getting sent from PowerApps logged in user.

Please help me to configure Microsoft flow email connector.

I tried using From(Send as) with service account by logging in with service account,it gave an error saying "You are not authorized to send email from this account"

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver I
Resolver I

Hi @ksp1 

 

In order to send emails from a specific account you need "Send as" permissions on that account, you do it on the Exchange Admin Center.

 

As an advice, in our company we prefer to use shared mailboxes, in this way you don't need permissions and connections mixed on the Flow. The action is the following:

js-dattics_0-1595184164087.png

Remember to give the "Send As" permission on EAC to the owner of the Outlook connection (normally yourself).

 

View solution in original post

4 REPLIES 4
Community Support
Community Support

Hi @ksp1 ,

 

If you want to send the email from another emails address, you must make sure the connection account in the send an email action has the permission to send the email on the special email address.

 

The example below for a reference.(The Test2 account should have the permission to send email from Test1 Ms account)

1.png

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-alzhan-msft ,

Thanks for the response.I tried that as well.Even by  logging in with Service account and choosing connection as service account.

Still getting the same error.Connection sends out email when from field is empty,but email gets sent from PowerApps logged in user than Outlook connection account(service account)

2020-07-16_18-03-56.jpg

Resolver I
Resolver I

Hi @ksp1 

 

In order to send emails from a specific account you need "Send as" permissions on that account, you do it on the Exchange Admin Center.

 

As an advice, in our company we prefer to use shared mailboxes, in this way you don't need permissions and connections mixed on the Flow. The action is the following:

js-dattics_0-1595184164087.png

Remember to give the "Send As" permission on EAC to the owner of the Outlook connection (normally yourself).

 

View solution in original post

Hi @ksp1 ,

 

Does your issue still exists?

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (64,375)