Codeunit 8821 "AAD Application Setup"
Base Application · System.Environment.Configuration
Across versions
- BC23-27present
- BC282 procedures added
- BC29-30unchanged
Neighbourhood 5 connected objects and pages
Base Application · System.Environment.Configuration · BC23-30 · source at ea08af5e · facts from BC29
Event subscriptions
- InitSetup subscribes to Codeunit “Company-Initialize” OnCompanyInitialize
Procedures
CreateDynamics365BusinessCentralforVirtualEntitiesAAdApplication()CreatePowerPagesAAdApplications()CreateExpenseAgentAADApplications()+ BC28ModifyDescriptionOfDynamics365BusinessCentralforVirtualEntitiesAAdApplication()GetD365BCForVEAppId(): Guid(internal)GetPowerPagesAnonymousAppId(): Guid(internal)GetPowerPagesAuthenticatedAppId(): Guid(internal)GetExpenseAgentAuthenticatedAppId(): Guid+ BC28 (internal)
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 8820 “AAD Application Interface” (4 calls:
CreateDynamics365BusinessCentralforVirtualEntitiesAAdApplication → CreateAADApplication,CreateExpenseAgentAADApplications → CreateAADApplication,CreatePowerPagesAAdApplications → CreateAADApplication, …) - Codeunit 9998 “Upgrade Tag Definitions” (3 calls:
InitSetup → GetCreateDefaultAADApplicationTag,InitSetup → GetCreateDefaultPowerPagesAADApplicationsTag,InitSetup → GetCreateExpenseAgentAADApplicationsTag) - Codeunit 9999 “Upgrade Tag” (2 calls:
InitSetup → HasUpgradeTag,InitSetup → SetUpgradeTag)
Called by
- Codeunit 104000 “Upgrade - BaseApp” (3 calls:
CreateDefaultAADApplication → CreateDynamics365BusinessCentralforVirtualEntitiesAAdApplication,CreateExpenseAgentAADApplications → CreateExpenseAgentAADApplications,CreatePowerPagesAAdApplications → CreatePowerPagesAAdApplications) - Page 9861 “AAD Application Card” (1 call:
OnAfterGetCurrRecord → GetD365BCForVEAppId)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "AAD Application Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.