---
id: change/bcapps/13928
type: change
title: "#13928 Bug 658681: [Master Data Management] Support certificate secret for cross-environment synchronization"
summary: Cross-environment master data synchronization now supports certificate authentication as an alternative to client secrets, with certificate storage in isolated storage and automatic validation of expiration and private keys.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit mdm http source transport
  - codeunit master data mgt. subscribers
  - page mdm connection details
  - page master data management setup
  - table master data management setup
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-11-15T00:48:15.690Z"
  flags: []
generated:
  at: "2026-11-30T10:37:49.603Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 180993dd2f85d5660becbd3259cfdb2d26e191d8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13928
    title: "microsoft/BCApps#13928: Bug 658681: [Master Data Management] Support certificate secret for cross-environment synchronization"
    date: "2026-11-13"
    commit: 180993dd2f85d5660becbd3259cfdb2d26e191d8
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/7247
    - object/codeunit/7237
    - object/page/7232
    - object/page/7230
    - object/table/7230
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-sync-master-data
      title: Manage master data synchronization
      label: possibly related
      why: touches Page 7230 "Master Data Management Setup"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-set-up-data-sync
      title: Set up companies to synchronize master data
      label: possibly related
      why: touches Page 7230 "Master Data Management Setup"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-secret-text
      title: Protecting sensitive values with the SecretText data type
      label: possibly related
      why: Documents SecretText data type for protecting sensitive credential values in secure operations.
      by: model
number: 13928
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13928
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-13T15:09:49Z"
author: dcenic
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 7
  additions: 925
  deletions: 48
  al: 5
apps:
  - MasterDataManagement
objects_touched:
  - key: codeunit/7247
    page: codeunit/7247
    type: codeunit
    id: 7247
    name: MDM Http Source Transport
    app: MasterDataManagement
    status: modified
  - key: codeunit/7237
    page: codeunit/7237
    type: codeunit
    id: 7237
    name: Master Data Mgt. Subscribers
    app: MasterDataManagement
    status: modified
  - key: page/7232
    page: page/7232
    type: page
    id: 7232
    name: MDM Connection Details
    app: MasterDataManagement
    status: modified
  - key: page/7230
    page: page/7230
    type: page
    id: 7230
    name: Master Data Management Setup
    app: MasterDataManagement
    status: modified
  - key: table/7230
    page: table/7230
    type: table
    id: 7230
    name: Master Data Management Setup
    app: MasterDataManagement
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 658681
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13928 Bug 658681: [Master Data Management] Support certificate secret for cross-environment synchronization

> Cross-environment master data synchronization now supports certificate authentication as an alternative to client secrets, with certificate storage in isolated storage and automatic validation of expiration and private keys.

[Pull request](https://github.com/microsoft/BCApps/pull/13928) · merged into `main` (BC30) on 2026-11-13 by dcenic · 7 files (+925 -48), 5 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Adds Authentication Type field to connection wizard, defaulting to Client Secret with Certificate option
- Certificate stored securely in isolated storage with thumbprint and expiration date metadata
- Validates certificate has private key, opens with password, and is not expired
- Token acquisition uses OAuth2.AcquireTokensWithCertificate when certificate is stored
- Cleanup on environment copy and setup deletion removes all stored credentials from isolated storage
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 7247 "MDM Http Source Transport"](../../objects/codeunit/7247.md), MasterDataManagement: modified
- [Codeunit 7237 "Master Data Mgt. Subscribers"](../../objects/codeunit/7237.md), MasterDataManagement: modified
- [Page 7232 "MDM Connection Details"](../../objects/page/7232.md), MasterDataManagement: modified
- [Page 7230 "Master Data Management Setup"](../../objects/page/7230.md), MasterDataManagement: modified
- [Table 7230 "Master Data Management Setup"](../../objects/table/7230.md), MasterDataManagement: modified

## Context

- Work items: AB#658681
- Labels: AL: Apps (W1), Team: Finance
- Systems: integration

## Possibly related

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

- [Manage master data synchronization](https://learn.microsoft.com/dynamics365/business-central/admin-sync-master-data) — possibly related: touches Page 7230 "Master Data Management Setup"
- [Set up companies to synchronize master data](https://learn.microsoft.com/dynamics365/business-central/admin-set-up-data-sync) — possibly related: touches Page 7230 "Master Data Management Setup"
- [Protecting sensitive values with the SecretText data type](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-secret-text) — possibly related: Documents SecretText data type for protecting sensitive credential values in secure operations. (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).
