---
id: change/bcapps/14685
type: change
title: "#14685 Bug 660019: [SOA] Email configuration change is not saved if Monitor emails is not active"
summary: Sales Order Agent now saves email configuration changes even when email monitoring is disabled, ensuring folder and account selections persist regardless of the monitoring flag state.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit soa setup
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-12-02T01:06:00.421Z"
  flags: []
generated:
  at: "2026-12-05T00:13:03.967Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 729bec6b3caf51e75321ae2e649fc7f1fc252fcd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14685
    title: "microsoft/BCApps#14685: Bug 660019: [SOA] Email configuration change is not saved if Monitor emails is not active"
    date: "2026-12-01"
    commit: 729bec6b3caf51e75321ae2e649fc7f1fc252fcd
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-how-setup-email
      title: Set up email in Business Central
      label: possibly related
      why: Email configuration setup and saving relates to setting up email in Business Central.
      by: model
number: 14685
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14685
kind: pr
base_branch: main
major: "30"
merged_at: "2026-12-01T17:19:26Z"
author: ChethanT
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: 5
  deletions: 7
  al: 1
apps:
  - SalesOrderAgent
objects_touched:
  - key: codeunit/4400
    page: codeunit/4400
    type: codeunit
    id: 4400
    name: SOA Setup
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660019
systems:
  - copilot
quote: null
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #14685 Bug 660019: [SOA] Email configuration change is not saved if Monitor emails is not active

> Sales Order Agent now saves email configuration changes even when email monitoring is disabled, ensuring folder and account selections persist regardless of the monitoring flag state.

[Pull request](https://github.com/microsoft/BCApps/pull/14685) · merged into `main` (BC30) on 2026-12-01 by ChethanT · 1 file (+5 -7), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Email account, connector, address, folder, and folder ID are now saved independently of monitoring status
- Previously, these settings were discarded if monitoring was turned off during configuration
- Applies only to the existing-record update path; insert path already worked correctly
- No schema, API, permissions, or scheduling changes
- Validation and cancel behavior remain unchanged
- Behaviour changes for users or extensions.

## AL objects touched

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

## Context

- Work items: AB#660019
- Labels: AL: Apps (W1), Team: SCM
- Systems: copilot

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Set up email in Business Central](https://learn.microsoft.com/dynamics365/business-central/admin-how-setup-email) — possibly related: Email configuration setup and saving relates to setting up email in Business Central. (model-linked)

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).
