---
title: "Page 9033 Invite External Accountant, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/points/
object: https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/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 9033 Invite External Accountant, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/points/

13 procedures and triggers with a step in src/Layers/W1/BaseApp/OtherCapabilities/AccountantPortal/InviteExternalAccountant.Page.al, in source order, read from the text, not from a run.

## NewFirstName.OnValidate

[Line 92](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L92), trigger.

- [94](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L94) calls `DefineInitialEmailBody`

## ActionBack.OnAction

[Line 160](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L160), trigger.

- [162](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L162) calls `NextStep`

## ActionNext.OnAction

[Line 173](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L173), trigger.

- [177](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L177) calls `Invite`
- [178](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L178) raises `OnInvitationEnd`
- [179](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L179) calls `NextStep`
- [183](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L183) calls `NextStep`

## OnInit

[Line 203](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L203), trigger.

- [205](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L205) calls `DefineInitialEmailBody`

## OnOpenPage

[Line 208](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L208), trigger.

- [218](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L218) raises `OnInvitationStart`
- [219](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L219) calls [Codeunit 457 Environment Information](https://jonas-paprotka.de/ref/codeunit/457-environment-information/) `IsSaaS`
- [223](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L223) calls [Codeunit 8893 Email Scenario](https://jonas-paprotka.de/ref/codeunit/8893-email-scenario/) `GetEmailAccount`
- [226](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L226) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `InvokeIsExternalAccountantLicenseAvailable`
- [227](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L227) raises `OnInvitationNoExternalAccountantLicenseFail`
- [231](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L231) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `InvokeIsUserAdministrator`
- [232](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L232) raises `OnInvitationNoAADPermissionsFail`
- [237](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L237) raises `OnInvitationNoUserTablePermissionsFail`
- [243](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L243) calls `EnableControls`

## EnableControls

[Line 298](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L298), local.

- [300](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L300) calls `ResetControls`
- [304](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L304) calls `ShowStartStep`
- [306](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L306) calls `ShowDefineInformationStep`
- [308](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L308) calls `ShowFinishStep`

## NextStep

[Line 312](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L312), local.

- [319](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L319) calls `EnableControls`

## Invite

[Line 340](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L340), local.

- [353](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L353) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `InvokeInvitationsRequest`
- [354](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L354) calls `GetWebClientUrl`
- [358](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L358) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `SendTelemetryForWizardFailure`
- [363](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L363) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `TryGetGuestGraphUser`
- [366](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L366) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `SendTelemetryForWizardFailure`
- [371](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L371) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `IsLicenseAlreadyAssigned`
- [372](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L372) calls [Codeunit 9012 Azure AD Graph](https://jonas-paprotka.de/ref/codeunit/9012-azure-ad-graph/) `GetTenantDetail`
- [374](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L374) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `InvokeUserProfileUpdateRequest`
- [379](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L379) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `SendTelemetryForWizardFailure`
- [384](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L384) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `InvokeUserAssignLicenseRequest`
- [387](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L387) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `SendTelemetryForWizardFailure`
- [392](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L392) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `CreateNewUser`
- [396](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L396) calls `SendInvitationEmail`
- [399](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L399) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `SendTelemetryForWizardFailure`
- [409](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L409) calls [Codeunit 9033 Invite External Accountant](https://jonas-paprotka.de/ref/codeunit/9033-invite-external-accountant/) `UpdateAssistedSetup`

## SendInvitationEmail

[Line 414](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L414), local.

- [423](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L423) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `Create`
- [424](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L424) calls `DefineFullEmailBody`
- [425](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L425) calls [Codeunit 8893 Email Scenario](https://jonas-paprotka.de/ref/codeunit/8893-email-scenario/) `GetEmailAccount`
- [426](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L426) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `Send`

## DefineInitialEmailBody

[Line 440](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L440), local.

- [450](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L450) calls `NewLineForTextControl`
- [451](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L451) calls `NewLineForTextControl`
- [451](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L451) calls `NewLineForTextControl`
- [452](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L452) calls `NewLineForTextControl`
- [452](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L452) calls `NewLineForTextControl`

## DefineFullEmailBody

[Line 457](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L457), local.

- [461](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L461) calls `ReplaceNewLinesWithHtmlLineBreak`
- [462](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L462) calls `LineBreakForEmail`
- [462](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L462) calls `LineBreakForEmail`
- [463](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L463) calls `LineBreakForEmail`
- [464](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L464) calls `GetWebClientUrl`
- [464](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L464) calls `LineBreakForEmail`
- [465](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L465) calls `LineBreakForEmail`
- [465](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L465) calls `LineBreakForEmail`
- [466](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L466) calls `LineBreakForEmail`
- [466](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L466) calls `LineBreakForEmail`

## ReplaceNewLinesWithHtmlLineBreak

[Line 481](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L481), local.

- [488](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L488) calls `LineBreakForEmail`

## GetWebClientUrl

[Line 491](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L491), local.

- [500](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L500) calls [Codeunit 9005 Url Helper](https://jonas-paprotka.de/ref/codeunit/9005-url-helper/) `GetFixedClientEndpointBaseUrl`
- [502](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L502) calls [Codeunit 6300 Azure AD Mgt.](https://jonas-paprotka.de/ref/codeunit/6300-azure-ad-mgt/) `GetInitialTenantDomainName`
- [503](https://jonas-paprotka.de/ref/page/9033-invite-external-accountant/source/#L503) calls [Codeunit 9012 Azure AD Graph](https://jonas-paprotka.de/ref/codeunit/9012-azure-ad-graph/) `GetTenantDetail`

## Source

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

JOP-AL, 2026-11-20.
