---
id: object/table/9018
type: object
title: Table 9018 "Custom Permission Set In Plan"
summary: Table 9018 "Custom Permission Set In Plan" in System Application (System.Azure.Identity). 8 fields. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - table
  - system application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 0c59859e2e06ff458960953e90f7152e06344d360e5164d2f2ca11aea3eb8643
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Azure%20AD%20Plan/src/Plan%20Configuration/Custom%20Permissions/CustomPermissionSetInPlan.Table.al
    title: src/System Application/App/Azure AD Plan/src/Plan Configuration/Custom Permissions/CustomPermissionSetInPlan.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 9018
name: Custom Permission Set In Plan
caption: Custom Permissions In License
namespace: System.Azure.Identity
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 3
  calls: 1
  called_by: 0
  implements: 0
---

# Table 9018 "Custom Permission Set In Plan"

> Table 9018 "Custom Permission Set In Plan" in System Application (System.Azure.Identity). 8 fields. Present since at least BC23, still in BC30.

System Application · System.Azure.Identity · captioned "Custom Permissions In License" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Azure%20AD%20Plan/src/Plan%20Configuration/Custom%20Permissions/CustomPermissionSetInPlan.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Custom Permissions In License |
| Access | Internal |
| Extensible | false |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Id | Integer | — | AutoIncrement; DataClassification SystemMetadata |
| 2 | Plan ID | Guid | Specifies the ID of the license. <small>via [Page 9058 "Custom Permission Set In Plan"](../page/9058.md)</small> | TableRelation Plan."Plan ID"; DataClassification SystemMetadata |
| 3 | Role ID | Code[20] | Specifies the ID of the permission set that will be assigned to users with this license. <small>via [Page 9058 "Custom Permission Set In Plan"](../page/9058.md)</small> | TableRelation "Aggregate Permission Set"."Role ID"; DataClassification CustomerContent |
| 4 | Role Name | Text[30] | Specifies the description of the permission set. <small>via [Page 9058 "Custom Permission Set In Plan"](../page/9058.md)</small> | FlowField: lookup("Aggregate Permission Set".Name where("Role ID" = field("Role ID"))); not editable |
| 5 | App ID | Guid | — | DataClassification SystemMetadata |
| 6 | App Name | Text[250] | Specifies the name of the extension from which the permission set originates. <small>via [Page 9058 "Custom Permission Set In Plan"](../page/9058.md)</small> | FlowField: lookup("Published Application".Name where(ID = field("App ID"), "Tenant Visible" = const(true))); not editable |
| 7 | Scope | Option | — | OptionCaption: System,Tenant; DataClassification SystemMetadata |
| 8 | Company Name | Text[30] | Specifies the name of the company that this permission set is limited to for this plan. <small>via [Page 9058 "Custom Permission Set In Plan"](../page/9058.md)</small> | TableRelation Company; DataClassification SystemMetadata |

## Keys

- PrimaryKey: Id (clustered)
- UniqueKey: Plan ID, Role ID, Company Name, Scope, App ID

## Trigger event subscribers

- OnAfterDeleteEvent: [Codeunit 9822 "Plan Configuration Impl."](../codeunit/9822.md) LogTelemeteryOnDeleteCustomPermissioSet
- OnAfterInsertEvent: [Codeunit 9822 "Plan Configuration Impl."](../codeunit/9822.md) LogTelemeteryOnInsertCustomPermissioSet
- OnAfterModifyEvent: [Codeunit 9822 "Plan Configuration Impl."](../codeunit/9822.md) LogTelemeteryOnModifyCustomPermissioSet

## Triggers

OnInsert, OnDelete, OnModify, OnRename

## Pages and codeunits on this table

- [Page 9058 "Custom Permission Set In Plan"](../page/9058.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 9825 "Plan Configuration"](../codeunit/9825.md) (4 calls: `OnDelete → VerifyUserHasRequiredPermissionSet`, `OnInsert → VerifyUserHasRequiredPermissionSet`, `OnModify → VerifyUserHasRequiredPermissionSet`, …)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Custom Permission Set In Plan")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
