cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ichbinbunny
Level: Powered On

how to remove flow owner in approval email

I am trying to set up flow (submit request form - flow - email-sharepoint list), when the approver received approval request, my email address and alisa are always showing in the email. How can I hide my information from the email? I have tried to change my log in account, but not working

9 REPLIES 9
Super User
Super User

Re: how to remove flow owner in approval email

@ichbinbunny :

Unfortunately, the account used with the Flow approval action will always shows as the "created by" in the approval email.  You can add someone else as the "Requested For" name = to do so, click on Advanced Properties in the Approval action and provide an email address for the Requestor.

 

You may want to consider using some type of "service account" rather than your own account for the approval action connection if you don't want your name to appear.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
ichbinbunny
Level: Powered On

Re: how to remove flow owner in approval email

requestor's name was added at title  for approval and we created a new domain, even if I logged in with this new domain, it still shows my alias.

Super User
Super User

Re: how to remove flow owner in approval email


@ScottShearer wrote:

@ichbinbunny:

You may want to consider using some type of "service account" rather than your own account for the approval action connection if you don't want your name to appear.


You do have a few options:

  1. Setup an Office 365 email alias for your account so that alias is what is displayed in the emails, you could then create a simple Outlook rule to move all emails to that alias to a folder, or deleted
  2. Or, you could utilize the SMTP Connector, rather than the Office 365 Email Connector so you're sending the emails from an account not associated with the account in the Flow settings

 

Spoiler
NOTE: SMTP access for Office 365 requires additional configuration

It isn't Microsoft best practice to utilize service accounts for Flow, they recommend running Flow's access to connectors directly from your personal account. The two methods above are the methods I use within my flows so that my account doesn't show up as the sender email. 

Super User
Super User

Re: how to remove flow owner in approval email

@ichbinbunny 

You need to change the connection used by the Approval action.  I believe that, for approvals, you'll first need to make the service account an owner of the Flow(make it a Team Flow).  Then, logon as the service account and edit the Flow.  Click on the Flow action and then on "add connection".  That should substitute the Approval connection for the service account.  If that doesn't work, delete and re-add the approval action while logged on as the service account.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
ichbinbunny
Level: Powered On

Re: how to remove flow owner in approval email

Yes, I did try the steps you mentioned, but when I logged in with this service account, my domain was still showing at right corner. so adding a new connection still led to mydomain@

Super User
Super User

Re: how to remove flow owner in approval email

@Brad_Groux and @ichbinbunny  :

 

While I haven't yet tested the approach of using an alias, I don't believe that it will be effective with an approval (which is the issue described here).  Have you tested this technique with an approval?

 

In addition, you don't have the option of using the SMTP connector with an approval.

 

I agree, it is not preferable to use a service account.  That said, I don't believe that there is any other way to accomplish the requirement. 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Super User
Super User

Re: how to remove flow owner in approval email

@ichbinbunny and @Brad_Groux :

One final point - while this does not apply to approval emails, a simple way of sending an email and not having the Flow authors email be used as the "from" address is to use the "Send an Email Notification" action - it will be sent from "PowerApps or Flow".  The action has a green envelope as it's icon.  No additional configuration is required.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Super User
Super User

Re: how to remove flow owner in approval email


@ScottShearer wrote:

@Brad_Grouxand @ichbinbunny  :

 

While I haven't yet tested the approach of using an alias, I don't believe that it will be effective with an approval (which is the issue described here).  Have you tested this technique with an approval?

 

In addition, you don't have the option of using the SMTP connector with an approval.

 

I agree, it is not preferable to use a service account.  That said, I don't believe that there is any other way to accomplish the requirement. 


You don't have to use the built-in approval process as it is presented to you, you can create your own approval process with flow and a SharePoint list in just a few steps. This is what we do, if and when we find the built-in Flow approval tools to be too limiting, we just build our own and/or a hybrid using a SharePoint Workflow Approval in conjunction with Flow.

To me, the built-in Flow approval is just like the built-in and available connectors, meant for cookie-cutter solutions. The tools are there to make an approval as complex or as simple as you want.

The approval steps can be highly customized too, and you don't have to use just the Office 365 Mail actions, you can use Mail, Gmail, SMS, etc. and pipe the approval URL into it. 

We even have one of our really complex approvals, that requires a manual approval process nearly 10 steps long created using a SharePoint list, and column toggles. 

The options are pretty limitless for approvals with Flow and SharePoint. The power is in the logical expressions.

Super User
Super User

Re: how to remove flow owner in approval email


@ScottShearer wrote:

@ichbinbunnyand @Brad_Groux :

One final point - while this does not apply to approval emails, a simple way of sending an email and not having the Flow authors email be used as the "from" address is to use the "Send an Email Notification" action - it will be sent from "PowerApps or Flow".  The action has a green envelope as it's icon.  No additional configuration is required.


Great point, Scott! This is likely the best and easiest option for the OP.

Make sure your SPAM filter(s) allow for emails from @onmicrosoft.com. We had to whitelist the various domains on several of our security systems (took some testing to grab them all).

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 363 members 4,284 guests
Please welcome our newest community members: