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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How connections creden...
Power Automate
Answered

How connections credentials are used when flow is shared

(0) ShareShare
ReportReport
Posted on by 16

I am new to learning Power Automate and am looking for clarification on how credentials are stored when a flow is shared.

Currently, I am developing a few flows that will help our Project Management team set up new SharePoint team sites for each new project they have. When I add an action to SharePoint, it uses my credentials and ties them to the request. Having them attached to the Flow is fine as long as it is on my account. The main issue I've come into is that if I leave the company, The connection will tie the automation to my account, and I will have to share all the Flows on my profile with a team member. The automation needs to retain my credentials to function correctly, and if they have that Flow with my connection, they can modify those requests and actions to do anything they want. I am a global 365 Admin, and I do not want just any user to have access to those privileges.
My first thought is to create a new group with only admins as group owners and share the Flow with that group so it is "hosted." This way, the automation should still run, and if changes need to be made to the script, I have to join the created group.

 

After reading about Team flows, it didn't clear up all my questions. I understand that this is only an issue if the flow is getting shared and the flow will run as long as it is apart of an active user account. I am just trying to find the best practice for hosting these scripts.


Any help would be greatly appreciated, Thank you for your time!

Categories:
  • Verified answer
    Rhiassuring Profile Picture
    8,692 Moderator on at

    The best practice as I understand it, (and you will always get differing opinions on best practices), is to have a standard service account used for all flows. Then instead of sharing the flow with a group, there is one account with a shared password, and solid, documented governance.

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    I agree with @Rhiassuring . I generally assign a generic email to the service account like (FlowNotifications@comapnyname.com) so that the notifications seems to come from a service rather than an individual.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard