---
title: "Codeunit 9828 Default PS in Plan Impl"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9828-default-ps-in-plan-impl/
type: codeunit
id: 9828
name: "Default PS in Plan Impl"
app: "System Application"
namespace: System.Azure.Identity
versions: "22-25"
build: 25.5.30849.36072
obsolete: "Pending 22.0"
source: "https://jonas-paprotka.de/ref/codeunit/9828-default-ps-in-plan-impl/source/24/ https://jonas-paprotka.de/ref/codeunit/9828-default-ps-in-plan-impl/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 9828 Default PS in Plan Impl

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9828-default-ps-in-plan-impl/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.Azure.Identity |
| Versions | 22-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/DefaultPSInPlanImpl.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AddPermissionSetToPlan | (Code[20], Guid, Option) | - | public | 22-25 | - | - |
| GetPermissionSets | (Guid, var Record Permission Set In Plan Buffer) | - | public | 22-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.
