---
title: "Codeunit 9823 Default Permission Set In Plan"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9823-default-permission-set-in-plan/
type: codeunit
id: 9823
name: "Default Permission Set In Plan"
app: "System Application"
namespace: System.Azure.Identity
versions: "20-25"
build: 25.5.30849.36072
obsolete: "Pending 22.0"
source: "https://jonas-paprotka.de/ref/codeunit/9823-default-permission-set-in-plan/source/24/ https://jonas-paprotka.de/ref/codeunit/9823-default-permission-set-in-plan/source/25/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 9823 Default Permission Set In Plan

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9823-default-permission-set-in-plan/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.Azure.Identity |
| Versions | 20-25 |
| Obsolete | Pending 22.0, seen from 22. Getting the default permissions will be done only inside the Azure AD Plan module. |
| Source file | Azure AD Plan/src/Plan Configuration/Default Permssions/DefaultPermissionSetInPlan.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AddPermissionSetToPlan | (Code[20], Guid, Option) | - | public | 20-25 | - | - |
| GetPermissionSets | (Guid, var Record Default Permission Set In Plan) | - | internal | 20-21 | - | - |
| GetPermissionSets | (Guid, var Record Permission Set In Plan Buffer) | - | internal | 22-25 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnGetDefaultPermissions | (Guid) | 20-25 | - | - |

## Source

Symbols: Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.

Jonas Paprotka, 2026-09-20.
