Skip to main content
Assignment automations route eligible, unassigned conversations to a team queue or an eligible person. For example, an IT team can route requests by category and requester department instead of assigning every request in rotation.

Choose where the rule applies

Open Settings → Flow Teams. Organization administrators can set a rule under All teams. Organization administrators and Team Managers can manage a team’s rule when assignment is controlled per team. Creating or editing the linked automation also requires automation authoring access in its owning team. Any All teams choice other than Per team controls the team panels. Those panels show the effective organization rule and cannot change it. Each team’s saved rule and link remain stored. Choose Per team again to restore team control. Changes apply to future assignments. They do not reassign existing conversations or replace the policy already selected for queued work.

Create and activate a policy

1

Choose the assignment target.

For an organization rule, open All teams → Details → Conversations → Assigning conversations. For a team rule, open that team’s Details and find Assigning conversations under Conversations. All teams must use Per team before you can change a team’s rule.
2

Create an assignment automation.

Choose Assignment Automation, then Create assignment automation. For All teams, select an owning team where you have automation authoring access. A team entry starts with that team as owner.
3

Describe and confirm the routing rules.

Tell Flow which facts to match, which team or person should receive a match, which rule wins when two or more match, and what should happen when none match. Supply missing business facts explicitly. A person’s name or email does not establish their department, country, or time zone. Review the resolved people and teams before approving the policy.
4

Review the saved version and Validation scenarios.

Cover matching and unmatched requests, rule precedence, existing assignees, and assignment refusals or uncertain results. Include any requested backup behavior. Passing examples cover the cases exercised; they do not prove every possible routing rule. See Test and publish.
5

Publish and check the settings link.

In Publication settings, choose Automated execution → Run as, resolve readiness issues, and publish. The first successful publication from this settings journey also links and activates the policy at the original target. A failed publication leaves settings unchanged. Return to Flow Teams and check the linked automation card and published version.
The owning team manages the automation. It does not define the coverage or destination of an All teams policy. The Run as service account needs current permission for the source and destination teams and the actions it performs. Publishing or linking does not grant those permissions. An automation awaiting its first settings publication keeps its original owning team. Saving a draft alone does not activate assignment. Publishing outside the initial settings setup does not create a settings link. Republishing an existing automation does not restore a link you deliberately removed or replaced.

Select, replace, or restore a policy

In Assigning conversations, choose Assignment Automation, select an eligible automation, and select Save. A new draft cannot be linked before it has a ready publication. The linked card shows the active published name and version, rather than newer draft edits. Opening the automation requires separate authoring access. An organization-controlled team card is a summary; manage its link in All teams. To change a linked rule, select Unlink first. You can then select another automation, create one, or choose a built-in rule. Review the warning and select Save to apply the change. Replacing or removing the active policy through these settings unpublishes the previous policy and keeps it available to select again. Selecting an eligible Unpublished policy restores its previously published version only when you save; unsaved selection does not reactivate it. If the previous policy is still linked in another assignment setting, saving its replacement or removal is blocked. The previous settings stay in effect. Unlink an automation from all team and organization assignment settings before deleting or archiving it. Retained team links still count when All teams controls assignment.

Primary and backup behavior

Tell Flow whether the policy should assign a person, leave work in a team queue, or use an agreed no-match destination. A backup is optional and must be part of the confirmed policy. The policy waits for the primary assignment result. A backup may run after a known refusal that the policy handles, or after confirming that the primary did not commit. An uncertain result does not establish that assignment failed. The policy must resolve that uncertainty before choosing another person. A permission error is not permission to bypass the failed check with a backup. Backups run as part of the assignment attempt. They do not provide timed escalation or move an unclaimed conversation to another person after a delay.

Protected assignments

Assignment respects existing assignees, explicit creation choices, protected catalog and access fulfillment, cancelled or closed work, and assignment controlled by a connected ticketing system. The standard policy preserves an existing assignee. A later manual change prevents queued assignment work from overwriting that change, including when someone assigns and then unassigns the conversation. Each eligible event uses one effective selected policy: the organization policy or the source team’s policy. Moving a conversation to another team does not chain that team’s assignment policy. Current permissions and assignee eligibility are checked when the assignment is applied. When Assignment Automation is selected but no usable policy is linked, eligible work stays unassigned in the source team’s queue. Flow does not fall back to round robin or Capacity. A policy with no matching rule can leave work unassigned or use its explicitly agreed no-match destination. A failed assignment does not silently select another policy or use the no-match destination. Failed, unchanged, or replayed attempts do not create an additional assignment notification. Committed assignments retain the automation name and version in their history. Use Run history and debugging to inspect a failed run.

Routing files

A CSV is optional. Describe rules directly to Flow, attach an existing CSV in the automation chat, or explicitly ask Flow to create a CSV from supplied text. You choose the business schema: agree on the actual headers, their meaning, matching behavior, and person or team output columns. Rules supplied as text remain inline unless you ask to create a file. For example, your file might use category, destination_team, and recipient. These are example names, not required headers. Review any proposed corrections to people and teams. Flow checks every saved rule’s destination, not only the rows used in example scenarios. A person must be eligible for the selected team. If a person belongs to more than one eligible team, choose the intended team explicitly.

File limits and validation

  • Each saved CSV must contain valid UTF-8 text and fit within 64 KiB (65,536 bytes), including its header and any byte order mark. This limit is separate from code, prompts, and scenario limits.
  • Headers must be nonempty and unique after trimming. Each row must have the same number of fields as the header. Quoted fields, escaped quotes, and common line endings are supported.
  • Routing requires at least one data row. Required cells must contain values. Agree on optional destination columns where blank values are allowed; a rule needs a person or team destination.
  • Review matching fields, missing facts, rule precedence, and no-match behavior. Structural CSV validation and passing examples do not replace those business decisions or runtime permission checks.
An uploaded file must pass attachment checks before Flow can import it. If import fails, correct the reported file issue and attach it again in the same automation conversation.

Inspect, replace, and restore saved files

In Code, select a CSV filename reference to open that version’s saved file. To view two versions of the file side by side, open Compare versions and select Artifacts. Both views show read-only files. Ask Flow to replace the named CSV in the draft, then save, validate, and publish the new revision. Replacing or removing a draft file does not alter earlier versions or active runs. Each published or running revision keeps its own saved file. Restoring an earlier snapshot creates a new draft with that snapshot’s files; validate it again before publication. See Versioning and organization. If you intentionally use a connected SharePoint CSV as the live rule source, each execution reads the current external file. The publication pins the automation code and connection setup, not the external file’s contents. Authoring examples do not become the live rules. Use canonical person emails and team keys in that file; retrieval, validation, or identity failures stop the run.

When assignment automations are disabled

If assignment automations are disabled for your organization, their settings, authoring, run views, and saved CSV content are unavailable. Retained policy selections are ignored, and Flow uses each team’s saved built-in assignment rule. Stored policies and files are preserved. This differs from selecting Assignment Automation with no usable link, which leaves eligible work unassigned. Disabling does not undo committed assignments or cancel ordinary notifications for them. Availability changes can take a short time to apply and do not cancel in-flight work. After re-enabling, otherwise valid queued work can proceed if its source conversation has not changed. Consumed events and terminal failures do not restart automatically.