Skip to content

About

A Power Platform ToolBox tool that updates the primary owner of cloud flows within a named solution in one click. Flows can optionally be limited to those currently owned by a specified user.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Flow Owner Manager

Flow Owner Manager is a Power Platform ToolBox tool that updates the primary owner of cloud flows within a named solution. Results can optionally be limited to flows currently owned by a specified user.

What it does

  1. Resolves a solution by its unique name in the active Dataverse connection.
  2. Finds its workflow components and selects cloud flows.
  3. Optionally filters those flows by their current owner's Azure AD Object ID.
  4. Resolves the new owner to a Dataverse system user.
  5. Shows a preview before making changes.
  6. Updates each workflow's primary ownerid through the ToolBox Dataverse API and reports individual results.

Unlike co-owner role assignment, this changes the primary owner recorded on the Dataverse workflow row.

Safety and permissions

Ownership updates are privileged, externally visible changes. Review the preview carefully before selecting Update owners.

The active ToolBox identity must be able to read solutions, solution components, workflows, and system users and must have permission to update workflow records. The target user must exist as a Dataverse systemuser in the environment.

The tool uses ToolBox host APIs and does not handle access tokens directly. It does not intentionally persist solution names, user IDs, flow IDs, or update results.

Usage

  1. Select the intended Dataverse connection in Power Platform ToolBox.
  2. Enter the solution unique name, not its display name.
  3. Optionally enter and verify the current owner's Azure AD Object ID.
  4. Enter and verify the new owner's Azure AD Object ID.
  5. Select Find flows.
  6. Review every flow in the preview.
  7. Select Update owners and review the per-flow result list.

Verification indicators are cleared when an Object ID or active connection changes.

Prerequisites

  • Node.js 20.19 or newer for development
  • Power Platform ToolBox 1.2.0 or newer
  • An active Dataverse connection with the required privileges
  • A target user who has been provisioned in the environment

Development

npm ci
npm run dev
npm run lint
npm test
npm run build

A normal browser does not provide toolboxAPI or dataverseAPI. Host-integrated behavior must be tested inside Power Platform ToolBox.

Release validation

npm run format:check
npm run lint
npm test
npm run build
npm run community:check
npm audit --omit=dev --audit-level=high
npm run package:check

The official npm run validate command checks the public manifest and repository URLs anonymously.

ToolBox build

The production build is written to dist/:

dist/
├── assets/
│   ├── app.js
│   └── style.css
├── icons/
│   └── tool.svg
├── index.html
└── package.json

The build produces relative paths and a non-module IIFE application suitable for the ToolBox local-file loader. The verification script checks its entry points, asset paths, and manifest.

Repository

This public repository contains the complete maintainable source, tests, and release tooling for Flow Owner Manager. AVI-SPL maintains its canonical internal copy in the Power Platform ToolBox monorepo.

See CONTRIBUTING.md, SECURITY.md, SUPPORT.md, and CHANGELOG.md.

About

A Power Platform ToolBox tool that updates the primary owner of cloud flows within a named solution in one click. Flows can optionally be limited to those currently owned by a specified user.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages