---
id: post/yzhums-com/65999
type: post
title: Dynamics 365 Business Central: Remove obsolete permissions from all permission sets
summary: Business Central provides a built-in feature to remove obsolete permissions from user-defined permission sets when database objects are deprecated. System permission sets cannot be edited through this feature, requiring manual cleanup in extensions instead.
tier: community
language: en
tags:
  - permission sets
  - obsolete objects
  - permissions management
  - extension development
  - al development
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:42:41.067Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: a328c7c8d76990695021437b730c95318f6aeea0f1ab2e515323be8c1febbc3f
evidence:
  - kind: blog
    url: https://yzhums.com/65999/
    title: Dynamics 365 Business Central: Remove obsolete permissions from all permission sets
    date: "2025-07-28"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/65999/
    title: Dynamics 365 Business Central: Remove obsolete permissions from all permission sets
    date: "2025-07-28"
    commit: null
    t: null
    quote: On the Permission Sets page, choose the Remove Obsolete Permissions action.
  - kind: blog
    url: https://yzhums.com/65999/
    title: Dynamics 365 Business Central: Remove obsolete permissions from all permission sets
    date: "2025-07-28"
    commit: null
    t: null
    quote: This feature removes permissions from a permission set, not the permission set itself.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "65999"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/65999/
published_at: "2025-07-28T01:35:07.000Z"
author: Yun Zhu
full_text: false
words: 380
quotes:
  - text: On the Permission Sets page, choose the Remove Obsolete Permissions action.
    why_it_matters: This is the standard feature for cleaning up deprecated permissions from user-defined permission sets automatically.
  - text: This feature removes permissions from a permission set, not the permission set itself.
    why_it_matters: Clarifies the scope of the feature to prevent misunderstanding about what gets removed.
code_objects_mentioned:
  - other Permission Sets page
systems:
  - administration
  - development
versions_mentioned: []
cautions:
  - kind: gotcha
    quote: this feature removes permissions from a permission set, not the permission set itself
    objects: []
    events: []
    versions: []
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2025/07/Snipaste_2025-07-28_10-18-35.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:17:26.951Z"
---

# Dynamics 365 Business Central: Remove obsolete permissions from all permission sets

[Read the post](https://yzhums.com/65999/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2025-07-28 · 380 words · tier community · reviewed (checked by Opus)

> Business Central provides a built-in feature to remove obsolete permissions from user-defined permission sets when database objects are deprecated. System permission sets cannot be edited through this feature, requiring manual cleanup in extensions instead.

## Key points

- Permission sets contain permissions for specific database objects and must be assigned to users for Business Central access
- When objects are marked as ObsoleteState = Removed during version updates, associated permissions must be cleaned up
- The Remove Obsolete Permissions action on the Permission Sets page automatically removes deprecated permissions from user-defined sets
- System permission sets are read-only and cannot use this feature, requiring manual cleanup or regeneration in extensions
- This feature removes specific permissions but cannot delete entire obsolete permission sets

## Quotes

- "On the Permission Sets page, choose the Remove Obsolete Permissions action." (This is the standard feature for cleaning up deprecated permissions from user-defined permission sets automatically.)
- "This feature removes permissions from a permission set, not the permission set itself." (Clarifies the scope of the feature to prevent misunderstanding about what gets removed.)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- other "Permission Sets page"

## Heads up

- gotcha: "this feature removes permissions from a permission set, not the permission set itself"

## Context

- Features: Remove Obsolete Permissions action, Permission set management, Obsolete object handling, User-defined permission sets

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
