---
title: "Codeunit 132914 Azure AD User Mgt Test Library, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/points/
object: https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/
app: "System Application Test Library"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/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/"
---

# Codeunit 132914 Azure AD User Mgt Test Library, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/points/

5 procedures and triggers with a step in src/System Application/Test Library/Azure AD User Management/src/AzureADUserMgtTestLibrary.Codeunit.al, in source order, read from the text, not from a run.

## Run

[Line 25](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L25).

- [29](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L29) runs [Codeunit 9017 Azure AD User Mgmt. Impl.](https://jonas-paprotka.de/ref/codeunit/9017-azure-ad-user-mgmt-impl/)

## OnBeforeCreateUserFromAzureADObjectId

[Line 50](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L50), local.

- [58](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L58) calls [Codeunit 9012 Azure AD Graph](https://jonas-paprotka.de/ref/codeunit/9012-azure-ad-graph/) `GetUserByObjectId`
- [66](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L66) calls `CreateUser`

## CreateUser

[Line 69](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L69).

- [74](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L74) calls `InsertUser`

## InsertUser

[Line 79](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L79), local.

- [86](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L86) calls `GetUserName`
- [87](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L87) calls `GetFullName`
- [90](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L90) writes [Table 2000000120 User](https://jonas-paprotka.de/ref/table/2000000120-user/) Insert

## GetUserName

[Line 95](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L95), local.

- [104](https://jonas-paprotka.de/ref/codeunit/132914-azure-ad-user-mgt-test-library/source/#L104) calls `GetFullName`

## Source

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

JOP-AL, 2026-11-20.
