---
id: change/bcapps/9946
type: change
title: "#9946 Fix Retrieve Users overwriting existing users' custom Role Center (AB#641534)"
summary: Fixed a regression where Retrieve Users silently overwrote all existing users' custom Role Centers to Business Manager. The fix preserves existing users' Role Center customizations while still assigning the plan default to newly created users.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit permission manager
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:59.398Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 66f259e9e63c916ea89f3a554efaa08e8fb5e110
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9946
    title: "microsoft/BCApps#9946: Fix Retrieve Users overwriting existing users' custom Role Center (AB#641534)"
    date: "2026-08-10"
    commit: 66f259e9e63c916ea89f3a554efaa08e8fb5e110
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/9002
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9946
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9946
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-10T10:04:22Z"
author: gggdttt
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 67
  deletions: 27
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/9002
    page: codeunit/9002
    type: codeunit
    id: 9002
    name: Permission Manager
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641534
systems:
  - administration
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9946 Fix Retrieve Users overwriting existing users' custom Role Center (AB#641534)

> Fixed a regression where Retrieve Users silently overwrote all existing users' custom Role Centers to Business Manager. The fix preserves existing users' Role Center customizations while still assigning the plan default to newly created users.

[Pull request](https://github.com/microsoft/BCApps/pull/9946) · merged into `main` (BC30) on 2026-08-10 by gggdttt · 2 files (+67 -27), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Removed the overwrite logic that reset existing users' Profile ID when the plan's Role Center was Business Manager
- New users still receive the default Role Center from their assigned plan
- Removed the dead `IsFiltered` plumbing that was gating the overwrite behavior
- Added regression test to ensure custom Role Centers are preserved during user access updates
- Behavior-narrowing fix with low risk that restores user customization preservation
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 9002 "Permission Manager"](../../objects/codeunit/9002.md), Base Application: modified

## Context

- Work items: AB#641534
- Labels: Team: Integrations
- Systems: administration

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