---
title: "Page 6302 Azure AD Access Dialog, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/points/
object: https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/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 6302 Azure AD Access Dialog, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/points/

5 procedures and triggers with a step in src/Layers/W1/BaseApp/Modules/System/AzureADAuthentication/AzureADAccessDialog.Page.al, in source order, read from the text, not from a run.

## ControlAddInReady

[Line 30](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L30), trigger.

- [32](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L32) calls [Codeunit 6300 Azure AD Mgt.](https://jonas-paprotka.de/ref/codeunit/6300-azure-ad-mgt/) `GetAuthCodeUrl`

## AuthorizationCodeRetrieved

[Line 35](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L35), trigger.

- [39](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L39) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`

## AuthorizationErrorOccurred

[Line 43](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L43), trigger.

- [53](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L53) raises `OnOAuthAccessDenied`
- [57](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L57) calls [Table 710 Activity Log](https://jonas-paprotka.de/ref/table/710-activity-log/) `LogActivityForUser`
- [60](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L60) calls `ThrowError`

## GetAuthorizationCodeAsSecretText

[Line 102](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L102).

- [109](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L109) calls [Codeunit 6300 Azure AD Mgt.](https://jonas-paprotka.de/ref/codeunit/6300-azure-ad-mgt/) `IsAzureADAppSetupDone`
- [110](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L110) runs [Page 6300 Azure AD App Setup Wizard](https://jonas-paprotka.de/ref/page/6300-azure-ad-app-setup-wizard/)
- [111](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L111) calls [Codeunit 6300 Azure AD Mgt.](https://jonas-paprotka.de/ref/codeunit/6300-azure-ad-mgt/) `IsAzureADAppSetupDone`

## ThrowError

[Line 119](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L119), local.

- [121](https://jonas-paprotka.de/ref/page/6302-azure-ad-access-dialog/source/#L121) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`

## Source

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

JOP-AL, 2026-11-20.
