---
title: "Page 9861 AAD Application Card, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/9861-aad-application-card/points/
object: https://jonas-paprotka.de/ref/page/9861-aad-application-card/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Page 9861 AAD Application Card, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/9861-aad-application-card/points/

9 procedures and triggers with a step in src/Layers/W1/BaseApp/System/AadApplication/AADApplicationCard.Page.al, in source order, read from the text, not from a run.

## Description.OnValidate

[Line 37](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L37), trigger.

- [39](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L39) calls `UpdateControl`

## State.OnValidate

[Line 48](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L48), trigger.

- [50](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L50) calls `UpdateControl`

## ShowEnableWarning.OnDrillDown

[Line 108](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L108), trigger.

- [110](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L110) calls `DrilldownCode`

## ShowInitializeUserWarningField.OnDrillDown

[Line 120](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L120), trigger.

- [122](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L122) calls `InitializeApplicationUser`

## Consent.OnAction

[Line 149](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L149), trigger.

- [152](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L152) calls `GrantConsent`

## OnAfterGetCurrRecord

[Line 173](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L173), trigger.

- [177](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L177) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `StripBrackets`
- [177](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L177) calls [Codeunit 8821 AAD Application Setup](https://jonas-paprotka.de/ref/codeunit/8821-aad-application-setup/) `GetD365BCForVEAppId`
- [178](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L178) calls `UpdateControl`

## GrantConsent

[Line 200](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L200), local.

- [206](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L206) calls [Codeunit 501 OAuth2](https://jonas-paprotka.de/ref/codeunit/501-oauth2/) `RequestClientCredentialsAdminPermissions`
- [206](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L206) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `StripBrackets`
- [214](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L214) writes [Table 9012 AAD Application](https://jonas-paprotka.de/ref/table/9012-aad-application/) Modify

## DrilldownCode

[Line 240](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L240), local.

- [243](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L243) validates [Table 9012 AAD Application](https://jonas-paprotka.de/ref/table/9012-aad-application/) `State`
- [244](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L244) calls `UpdateControl`

## InitializeApplicationUser

[Line 249](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L249), local.

- [255](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L255) validates [Table 9012 AAD Application](https://jonas-paprotka.de/ref/table/9012-aad-application/) `State`
- [256](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L256) validates [Table 9012 AAD Application](https://jonas-paprotka.de/ref/table/9012-aad-application/) `State`
- [257](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L257) writes [Table 9012 AAD Application](https://jonas-paprotka.de/ref/table/9012-aad-application/) Modify
- [258](https://jonas-paprotka.de/ref/page/9861-aad-application-card/source/#L258) calls `UpdateControl`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
