---
id: object/page/1681
type: object
title: Page 1681 "Email Logging Setup Wizard"
summary: Page 1681 "Email Logging Setup Wizard" in EmailLogging (Microsoft.CRM.EmailLoggin). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - emaillogging
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 6d5312fb8e9dd3b97a2faf7a00f6a27ebd7ba0b0d6a62edd4630fa0ec423e21a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EmailLogging/app/src/pages/EmailLoggingSetupWizard.Page.al
    title: src/Apps/W1/EmailLogging/app/src/pages/EmailLoggingSetupWizard.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 1681
name: Email Logging Setup Wizard
caption: Set Up Email Logging
namespace: Microsoft.CRM.EmailLoggin
app: EmailLogging
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 10
  events: 0
  subscribers: 0
  controls: 21
  actions: 5
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Page 1681 "Email Logging Setup Wizard"

> Page 1681 "Email Logging Setup Wizard" in EmailLogging (Microsoft.CRM.EmailLoggin). Introduced in BC29, still in BC30.

EmailLogging · Microsoft.CRM.EmailLoggin · captioned "Set Up Email Logging" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EmailLogging/app/src/pages/EmailLoggingSetupWizard.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Set Up Email Logging |
| PageType | NavigatePage |
| Permissions | tabledata "Email Logging Setup" = rimd |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| NotDoneBanner | NotDoneIcon | `MediaResourcesStandard."Media Reference"` | — |
| DoneBanner | DoneIcon | `MediaResourcesDone."Media Reference"` | — |
| Welcome to Email Logging Setup | LearnHowToSetupMailboxForEmailLogging | `LearnHowToSetupMailboxForEmailLoggingTxt` | — |
|  | Manual setup done | `ManualSetupDone` | The settings in Exchange Online are complete. |
| Step2 | ClientCredentialsLink | `ClientCredentialsLinkTxt` | — |
| SpecifiedCustomClientCredentialsGroup | Client ID and secret are specified and will be used to connect to the shared mailbox | `SpecifiedCustomClientCredentialsTxt` | Indicates that the client credentials are specified and will be used to connect to the shared mailbox. |
| ClientCredentialsRequiredGroup | ClientCredentialsRequired | `ClientCredentialsRequiredTxt` | Indicates that the client ID and secret are required to connect to the shared mailbox. |
| Step3 | SignInAndGiveConsentLink | `SignInAndGiveConsentLinkTxt` | — |
| AdminSignInSucceed | SuccesfullyLoggedIn | `SuccesfullyLoggedInTxt` | Specifies if the Exchange administrator has logged in successfully. |
| AdminSignInFailed | UnsuccesfullyLoggedIn | `UnsuccesfullyLoggedInTxt` | Indicates that the Exchange Online administrator is not signed in. |
| Step3 | Consent given | `AppConsentGiven` | Consent given |
| Step4 | Shared Mailbox Email | `EmailAddress` | Specifies the email address of the shared mailbox. The shared mailbox must be in the same tenant as Business Central. |
|  | ValidateMailboxLink | `ValidateMailboxLinkTxt` | — |
| ValidMailboxGroup | ValidMailbox | `ValidMailboxTxt` | The connection test was successful. |
| InvalidMailboxGroup | InvalidMailbox | `InvalidMailboxTxt` | The connection test was not successful. |
|  | ErrorText | `ErrorText` | Specifies the error occurred. |
| AdvancedSection | Email Batch Size | `EmailBatchSize` | Specifies the number of email messages that the job queue entry for email logging will get from Exchange Online in one run. By balancing this number with how often the job queue entry runs you can fine tune the process. If a message is not logged in the current run it will be in the next one. |
| Control33 | Create Email Logging Job Queue | `CreateEmailLoggingJobQueue` | Create Email Logging Job Queue |
| InvalidInteractionTemplateSetupGroup | InteractionTemplateSetupLink | `InteractionTemplateSetupLinkTxt` | — |
|  | Interaction Template Setup needs to be configurred. | `InvalidInteractionTemplateSetupTxt` | Indicates that Interaction Template Setup needs to be configurred. |
| ValidInteractionTemplateSetupGroup | Interaction Template Setup is correctly configurred. | `ValidInteractionTemplateSetupTxt` | Indicates that Interaction Template Setup is correctly configurred. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Simple | — |  |
|  | Advanced | — |  |
|  | Back | Back |  |
|  | Next | Next |  |
|  | Finish | Finish |  |

## Procedures

10 local procedures, no public ones.

## Triggers

OnInit, OnOpenPage, OnQueryClosePage

## 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 1681 "Email Logging Management"](../codeunit/1681.md) (4 calls: `OnInit → InitializeOAuthClient`, `ShowDoneStep → CheckInteractionTemplateSetup`, `SignInAndGiveAppConsent → ExtractTenantIdFromAccessToken`, …)
- [Codeunit 1293 "Isolated Storage Management"](../codeunit/1293.md) (1 call: `OnInit → Get`)
- [Codeunit 1990 "Guided Experience"](../codeunit/1990.md) (1 call: `OnQueryClosePage → AssistedSetupExistsAndIsNotComplete`)
- [Codeunit 4030 "Client Type Management"](../codeunit/4030.md) (1 call: `LoadTopBanners → GetCurrentClientType`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (1 call: `OnInit → IsSaaSInfrastructure`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## 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: "page", object_name: "Email Logging Setup Wizard")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
