Sachin
Sachin

Reputation: 75

Determining the account power automate runs under

i have a SharePoint form, which gathers details into a SharePoint list. this list has a Power Automate flow which triggers an approval workflow which once approved will send out an email to designated mailboxes.

I need to modify the flow. How can i know which account the power automate flow is running under ? the person who created this flow has left the company and his account is no longer available.

Upvotes: 0

Views: 381

Answers (2)

Ganesh Sanap - MVP
Ganesh Sanap - MVP

Reputation: 2228

If you have the Power Platform admin access and if you know the flow name or flow ID, you can use PowerShell to get the flow owner details.

You can use this command to get the flow details: Get-AdminFlow

Refer below Microsoft official documentation for PowerShell installation and Prerequisites: Get started with PowerShell for Power Platform Administrators

Upvotes: 1

Rob Windsor
Rob Windsor

Reputation: 6859

For each flow there are owners and connections. Owners are the users who can modify the flow. Connections list the connectors (i.e. backend systems) used in the flow and the user account whose permissions will be used to access the system.

Flow overview page

The screen capture shows that the flow connects to SharePoint and to Office 365 Outlook and that it uses the permission for the [email protected] account to do so.

Generally the user account associated with each of the connections will be that of the original author of the flow, however this can be changed on an action by action basis using the context menu for the action.

Action context menu

So to answer your question, you should check the connections for the flow to determine which user accounts are used to access the connectors used in the flow. If you need to change to user accounts used to access those connectors, you can do so using the context menu for each action.

Upvotes: 0

Related Questions