---
id: change/bcapps/13599
type: change
title: "#13599 [SOA] Setup can be saved while the agent remains inactive without warning"
summary: The Sales Order Agent setup page now shows a confirmation when saving an inactive agent with configuration changes, asking whether to activate it. The first-time setup path was also fixed to actually activate the agent when the user confirms.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page soa setup
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-05T00:53:33.585Z"
  flags: []
generated:
  at: "2026-11-09T00:15:52.409Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2af82714c5045beb21e9da18bc57d109da9e3fd4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13599
    title: "microsoft/BCApps#13599: [SOA] Setup can be saved while the agent remains inactive without warning"
    date: "2026-11-04"
    commit: 2af82714c5045beb21e9da18bc57d109da9e3fd4
    t: null
    quote: The agent is configured but not active, so it won't process emails or tasks. Do you want to activate it now?
links:
  learn: []
  objects:
    - object/page/4400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 13599
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13599
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-04T14:21:06Z"
author: VolodySyn
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 30
  deletions: 2
  al: 1
apps:
  - SalesOrderAgent
objects_touched:
  - key: page/4400
    page: page/4400
    type: page
    id: 4400
    name: SOA Setup
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 13600
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13600
fixes_issues: []
work_items:
  - 651658
systems:
  - copilot
quote: The agent is configured but not active, so it won't process emails or tasks. Do you want to activate it now?
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13599 [SOA] Setup can be saved while the agent remains inactive without warning

> The Sales Order Agent setup page now shows a confirmation when saving an inactive agent with configuration changes, asking whether to activate it. The first-time setup path was also fixed to actually activate the agent when the user confirms.

[Pull request](https://github.com/microsoft/BCApps/pull/13599) · merged into `main` (BC30) on 2026-11-04 by VolodySyn · 1 file (+30 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Confirmation appears only when the agent is inactive, setup changed, and the user didn't manually toggle Active
- Confirmation is never shown for Try it out flow, manual Active toggle off, or when nothing changed
- New ActivateAgent() helper ensures activation works correctly in both first-time setup and update flows
- Previously, saying Yes to activate in first-time setup didn't work because FlowField overwrites were not handled
- Only UI flow change, no schema or public API modifications
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 4400 "SOA Setup"](../../objects/page/4400.md), SalesOrderAgent: modified

## Also merged into

- [#13600](https://github.com/microsoft/BCApps/pull/13600) into `releases/29.x` on 2026-11-04

## Context

- Work items: AB#651658
- Labels: AL: Apps (W1), Team: SCM
- Systems: copilot
- From the description: "The agent is configured but not active, so it won't process emails or tasks. Do you want to activate it now?"

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
