Codeunit 9033 "Invite External Accountant"
Base Application · Microsoft.AccountantPortal
Across versions
- BC23-29present
- BC302 procedures added, 1 procedures changed
Neighbourhood 9 connected objects and pages
Base Application · Microsoft.AccountantPortal · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnInvitationCreateNewUser(UserCreated: Boolean)(integration)- subscribers: Codeunit 9033 “Invite External Accountant” SendTelemetryForInvitationCreateNewUser
Event subscriptions
- SendTelemetryForInvitationStart subscribes to Page “Invite External Accountant” OnInvitationStart
- SendTelemetryForInvitationNoExternalAccountantLicenseFail subscribes to Page “Invite External Accountant” OnInvitationNoExternalAccountantLicenseFail
- SendTelemetryForInvitationNoAADPermissionsFail subscribes to Page “Invite External Accountant” OnInvitationNoAADPermissionsFail
- SendTelemetryForInvitationNoUserTableWritePermissionsFail subscribes to Page “Invite External Accountant” OnInvitationNoUserTablePermissionsFail
- SendTelemetryForInvitationEnd subscribes to Page “Invite External Accountant” OnInvitationEnd
- SendTelemetryForInvitationCreateNewUser subscribes to Codeunit “Invite External Accountant” OnInvitationCreateNewUser
Procedures
InvokeInvitationsRequest(DisplayName: Text; EmailAddress: Text; WebClientUrl: Text; var InvitedUserId: Guid; var InviteReedemUrl: Text; var ErrorMessage: Text): BooleanInvokeUserProfileUpdateRequest(var GuestGraphUser: DotNet UserInfo; CountryLetterCode: Text; var ErrorMessage: Text): BooleanInvokeUserAssignLicenseRequest(var GraphUser: DotNet UserInfo; TargetLicense: Text; var ErrorMessage: Text): BooleanInvokeIsExternalAccountantLicenseAvailable(var ErrorMessage: Text; var TargetLicense: Text): BooleanInvokeIsUserAdministrator(): BooleanCreateNewUser(InvitedUserId: Guid)IsLicenseAlreadyAssigned(GuestGraphUser: DotNet UserInfo): BooleanTryGetGuestGraphUser(InvitedUserId: Guid; var GuestGraphUser: DotNet UserInfo): BooleanUpdateAssistedSetup()SendTelemetryForWizardFailure(stepFailed: Text; ErrorMessage: Text)
Plus 7 local procedures.
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 5459 “JSON Management” (14 calls:
GetMessageFromErrorJSON → GetJSONObject,GetMessageFromErrorJSON → GetStringPropertyValueFromJObjectByName,GetMessageFromErrorJSON → InitializeObject, …) - Codeunit 1297 “Http Web Request Mgt.” (8 calls:
InvokeRequest → AddBodyAsText,InvokeRequest → AddHeader,InvokeRequest → DisableUI, …) - Codeunit 9005 “Url Helper” (4 calls:
GetGraphInvitationsUrl → GetGraphUrl,GetGraphSubscribedSkusUrl → GetGraphUrl,GetGraphUserUrl → GetGraphUrl, …) - Codeunit 9012 “Azure AD Graph” (4 calls:
CreateNewUser → GetUserAssignedPlans,CreateNewUser → TryGetUserByObjectId,IsLicenseAlreadyAssigned → GetUserAssignedPlans, …) - Codeunit 1990 “Guided Experience” (1 call:
UpdateAssistedSetup → CompleteAssistedSetup) - Codeunit 433 “Azure AD Tenant” (1 call:
InvokeRequest → GetAadTenantId) - Codeunit 6300 “Azure AD Mgt.” (1 call:
InvokeRequest → GetGuestAccessToken) - Codeunit 9010 “Azure AD User Management” (1 call:
CreateNewUser → CreateNewUserFromGraphUser)
Called by
- Page 9033 “Invite External Accountant” (10 calls:
Invite → CreateNewUser,Invite → InvokeInvitationsRequest,Invite → InvokeUserAssignLicenseRequest, …)
Recent changes
- 2026-10-02 #10755 Migrate Http Web Request Mgt. callers to native HttpClient (main, BC30, refactor)
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: "Invite External Accountant"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.