Skip to content

Latest commit

 

History

History
124 lines (80 loc) · 10.2 KB

change-cloud-flow-owner.md

File metadata and controls

124 lines (80 loc) · 10.2 KB
title description suite author contributors ms.subservice ms.topic ms.date ms.author search.audienceType ms.reviewer
Change the owner of a cloud flow in Power Automate | Microsoft Docs
Learn how to change the owner of a solution-aware cloud flow in Power Automate.
flow
kisubedi
ChrisGarty
kisubedi
v-aangie
cloud-flow
conceptual
03/01/2024
cgarty
flowmaker
enduser
angieandrews

Change the primary owner of a cloud flow

The primary flow owner plays a vital role in the management, control, and maintenance of Power Automate flows. They have the authority to make changes, assign permissions, monitor performance, and ensure the flow meets the organization's requirements. When a flow is created, the creator is automatically set as the primary flow owner.

The primary flow owner responsibilities include the following:

  • Flow management: Full control over the flow, including the ability to edit, manage, and delete it. They can make necessary modifications to the flow, update its triggers and actions, or troubleshoot any issues that may arise.
  • Permissions and sharing: Determines who can access and use the flow. They can share the flow with other users or teams within the organization.
  • Monitoring and troubleshooting: Monitoring their flow's performance, reviewing run history, and addressing errors or exceptions.
  • Licensing: The licenses associated with the primary owner can have an effect on the flow.

In cases where primary ownership needs to be transferred, such as when a primary flow owner leaves the organization or changes roles, providing a new primary flow owner ensures a smooth transition. The previous primary flow owner can transfer ownership to another user to maintain continuity and avoid disruptions in flow management.

If an administrator wants to make changes to a flow, they must first make themselves a primary owner or co-owner. Flows are usually owned by regular users, but if you need to change the primary owner to a Service Principal application user instead, go to Change the owner of a cloud flow to a Service Principal application user.

Change the primary owner of a solution-aware cloud flow

A primary owner, co-owner, or an admin can change the owner of a solution-aware flow to another user to ensure business continuity. After the change of primary ownership completes, the original primary owner becomes a co-owner of the flow.

You can change the primary owner to an individual (not a distribution list) or a user account used as a service account. If the flow uses a service account, ensure it's licensed correctly to avoid multiplexing.

Follow these steps to change the owner of a flow.

Important

To perform this action, the flow must be a solution-aware flow.

  1. Sign in to Power Automate.

  2. On the menu to the left, either select My flows, or select Solutions and locate a solution the flow is referenced by. non-

  3. Select the flow for which you're changing the owner.

  4. In the Details section, select Edit.

    :::image type="content" source="media/change-cloud-flow-owner/details-edit.png" alt-text="Screenshot of the edit button in the details section.":::

  5. In the Primary owner section, remove the current owner.

  6. Enter the email address of the new primary owner.

    Once assigned, the new owner gets access to the run history and connection references. The new primary owner can update the flow or reassign it to other users.

If the flow is a scheduled or automated flow, after the primary owner changes, the flow runs under the license of the new owner and uses their Power Platform request limits. This change can take up to seven (7) days to become effective. If you need the new primary owner to take effect immediately, edit the flow, and then save it to force the flow to use the new owner’s license.

If the flow is a manual flow, the flow runs under the license of the user who runs the flow. The plan section shows whose license plan the flow uses.

:::image type="content" source="media/change-cloud-flow-owner/details-plan.png" alt-text="Screenshot of the license plan being used.":::

Change the primary owner of a non-solution cloud flow

In-place ownership change for non-solution-aware cloud flows isn't available because the primary owner is part of the flow identity.

  • If your environment has Dataverse, then the ideal way to change the ownership is to add the flow into a solution so primary ownership can be changed.
  • If your environment doesn't have Dataverse, then you must create a new non-solution cloud flow with export/import, Save as, or Send a copy.

Ownership and licensing

If primary flow ownership is changed to a new owner without a premium license and the flow uses premium features, then a warning shows with information about next steps.

:::image type="content" source="media/change-cloud-flow-owner/details-warning.png" alt-text="Screenshot of the incorrect license warning.":::

The flow can still be assigned to the new primary owner. The flow continues to run for 30 days, allowing time for the new primary owner to purchase a license. If the new primary owner doesn't have a premium license after the grace period, Power Automate turns off the flow. They can turn it on anytime after purchasing the license.

Change the primary owner of a cloud flow to a service principal application user

The following sections include various scenarios for changing primary ownership.

Service Principal application users

A Service Principal is a non-human security identity that represents an application or service that can own and manage resources within Azure and the Power Platform. To use a Service Principal within the Power Platform, a Service Principal application user needs to be created that represents the service principal through the portal or through API. An application user can have connections shared with them and own resources such as flows.

A Service Principal application user is a non-interactive user, so it can't have a user license associated with it. It's also subject to non-licensed user limits.

Service Principal application user primary ownership of flows

Power Automate has the ability for Service Principal application users to own and run flows to provide flexibility and stability in how organizations administer Power Automate flows. When the primary owners of flows change roles or leave the organization entirely, the primary ownership of a flow needs to be changed to a different user or set of users. If the primary owner of the flow is a Service Principal application user, then that primary ownership isn't tied to a user that could leave the organization.

The flow connections need to be shared with the Service Principal application user in order for them to successfully run the flow.

Since a Service Principal application user is a non-interactive user without a user license, it's subject to non-licensed user limits and has special licensing and request limit implications.

Change the primary owner of a flow to a Service Principal application user

To change the primary owner of a flow to a Service Principal application user:

  1. Open the Details edit dialog.

  2. Replace the Primary owner with the name of the Service Principal application user.

    A Service Principal application user can't be made a co-owner of a flow. Attempts to find a Service Principal application user in the Co-owners edit dialog won't be successful.

Enable a Service Principal to own and run a flow

To have a Service Principal own and run a flow, follow these steps.

  1. Create a Service Principal application user representing the Microsoft Entra Service Principal.

  2. Share connections with the Service Principal application user.

  3. Change the primary owner of the flow to the Service Principal application user using the steps detailed here: Details > Edit > Primary owner.

  4. Turn on the flow so it's ready to run.

  5. Adjust licensing to deal with request limit implications as needed.

    Examples are turning on Pay As You Go, associating the flow to an app, or considering a Power Automate Process license (previously Power Automate per flow).

Related information