---
title: "Page 5094 Marketing Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/page/5094-marketing-setup/
type: page
id: 5094
name: "Marketing Setup"
app: "Base Application"
namespace: Microsoft.CRM.Setup
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/page/5094-marketing-setup/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Page 5094 Marketing Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/page/5094-marketing-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.CRM.Setup |
| Versions | 17-28 |
| Source table | 5079 |
| Source file | CRM/Setup/MarketingSetup.Page.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetAttachmentStorageType | () | - | public | 17-28 | - | - |
| SetAttachmentStorageLocation | () | - | public | 17-28 | - | - |
| InitExchangeService | () | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| ClearEmailLoggingSetup | (var Record Marketing Setup) | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterMarketingSetupEmailLoggingUsed | () | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| Integration event | OnAfterMarketingSetupEmailLoggingCompleted | () | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| Integration event | OnRunEmailLoggingSetup | () | 21-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
