web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Default to logged in u...
Power Automate
Answered

Default to logged in user when sharing a flow

(0) ShareShare
ReportReport
Posted on by 4

I'm pretty sure the answer is no, this isn't possible, but I am going to ask anyway.

 

I have a flow with the following connections:

 

  • SharePoint
  • Excel Online (Business)
  • Office 365 Outlook

 

I need to share the flow with a number of users. Each and every one of those users has access to all the resources required to run the flow (with the caveat below), and I would prefer that they do so with their credentials rather than mine or those of a shared account.

 

Is there any way to configure the connections so that they use the credentials of the user running the flow? This is a security issue, for two reasons.

 

First, if a user is removed from the SharePoint site, the flow should fail for that user without the SharePoint site administrator having to know that the flow even exists.

 

Second, the flow, which is essentially a mail merge, has two modes, "draft" and "final". In draft mode, I want the emails to be sent from and to the user's own mailbox so that they can validate the content and format before the final emails go out. In final mode, I want the emails to be sent from a shared mailbox. I need separation between those that can send themselves draft emails (the marketing grunt whose job it is to compose and format the email text) and those that can send outside users final emails (the marketing overlord whose head will be served on platter if there is anything that upsets a user). The way things stand right now, everyone has the right to run the flow in final mode (putting the grunt at the same level as the overlord), but if I had user-specific connections, the flow would work in draft mode for everyone and in final mode only for those users who have access to the shared mailbox.

 

Please tell me this is possible.

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @KDeanGS1 

    The only way to meet your requirement using only Flow is to send each of your users a copy of the Flow.  They would then import the Flow and provide their own credentials.

    image.png

    For reasons that I can't explain, if your Flow is initiated by a Power App, then the users credentials will Flow through.  So, depending on your situation, you might create a Power App with which the user will interact and kick off the Flow.

     

     

  • KDeanGS1 Profile Picture
    4 on at

    That's what I was afraid of. Thanks for answering.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard