#12255 Fix overwrite import of exported system permission sets
System permission set imports with overwrite option now correctly delete permissions and relations that differ from the imported file, instead of merging silently. The fix handles both system and tenant format files, with tenant format now using exact role ID matching.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-05 by darjoo · 2 files (+78 -6), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- System-format overwrite import now deletes existing tenant permissions and relations filtered on the empty App ID
- Tenant-format overwrite uses SetRange, so role IDs containing filter characters cannot match the wrong records
- After an overwrite import the set matches the file, instead of silently merging
- The Yes (update) option is unchanged and still only adds or raises permissions
- New test covers removed and lowered permissions and relation changes on an overwrite import
- Behaviour changes for users or extensions.
AL objects touched
- XMLport 9864 “Import Permission Sets”, System Application: modified
Also merged into
- #12371 into
releases/29.xon 2026-10-06
Context
- Work items: AB#631431, AB#639487
- Labels: AL: System Application, Team: Integrations
- Systems: administration
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- How to: Export and Import Permission Sets and Permissions — possibly related: Documents export and import of permission sets using XMLport operations (model-linked)
- XMLport object — possibly related: XMLport objects handle import/export of permission sets during system 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).