---
id: object/codeunit/6702
type: object
title: Codeunit 6702 "O365 Contact Sync. Helper"
summary: Codeunit 6702 "O365 Contact Sync. Helper" in Base Application. 5 public procedures. Present since at least BC23, still in BC30, changed in BC28. Obsolete (Pending since 28.0).
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: "28.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 54397de9cb68b191466b4a51a4b0a89cb235540c41be29e0ae1bdfec4dba43c0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/O365ContactSyncHelper.Codeunit.al
    title: src/Layers/W1/BaseApp/O365ContactSyncHelper.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 6702
name: O365 Contact Sync. Helper
namespace: null
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete:
  state: Pending
  tag: "28.0"
  reason: Contact sync is now moved to assisted setup experience with new Graph based implementation.
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 49
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 2
  implements: 0
---

# Codeunit 6702 "O365 Contact Sync. Helper"

> Codeunit 6702 "O365 Contact Sync. Helper" in Base Application. 5 public procedures. Present since at least BC23, still in BC30, changed in BC28. Obsolete (Pending since 28.0).

Base Application · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/O365ContactSyncHelper.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| ObsoleteState | Pending |
| ObsoleteTag | 28.0 |
| ObsoleteReason | Contact sync is now moved to assisted setup experience with new Graph based implementation. |

## Procedures

- `GetO365Contacts(ExchangeSync: Record "Exchange Sync"; var TempContact: Record Contact temporary)`
- `TransferExchangeContactToNavContact(var ExchangeContact: Record Contact; var NavContact: Record Contact; ExchangeSync: Record "Exchange Sync")`
- `TransferBookingContactToNavContact(var ExchangeContact: Record Contact; var NavContact: Record Contact)`
- `ProcessNavContactRecordSet(var Contact: Record Contact; var TempContact: Record Contact temporary; var ExchangeSync: Record "Exchange Sync")`
- `TransferNavContactToExchangeContact(var NavContact: Record Contact; var ExchangeContact: Record "Exchange Contact")`

Plus 44 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 6700 "O365 Sync. Management"](../codeunit/6700.md) (5 calls: `LogFailure → LogActivityFailed`, `LogFailure → TraceCategory`, `ProcessNavContactRecordSet → LogActivityFailed`, …)
- [Codeunit 8613 "Config. Try Validate"](../codeunit/8613.md) (2 calls: `TryValidateField → (object)`, `TryValidateField → SetValidateParameters`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `ValidateExchangeContactAddress → CRLFSeparator`)
- [Codeunit 3006 "DotNet_DateTimeOffset"](../codeunit/3006.md) (1 call: `TransferExchangeContactToNavContactNoValidate → ConvertToUtcDateTime`)
- [Codeunit 9520 "Mail Management"](../codeunit/9520.md) (1 call: `TransferExchangeContactToNavContactNoValidate → CheckValidEmailAddress`)

## Called by

- [Codeunit 6703 "Exchange Contact Sync."](../codeunit/6703.md) (3 calls: `ProcessExchangeContactRecordSet → TransferExchangeContactToNavContact`, `ProcessNavContacts → ProcessNavContactRecordSet`, `SyncRecords → GetO365Contacts`)
- [Codeunit 6704 "Booking Customer Sync."](../codeunit/6704.md) (3 calls: `ProcessExchangeContactRecordSet → TransferBookingContactToNavContact`, `ProcessNavContactRecordSet → ProcessNavContactRecordSet`, `SyncRecords → GetO365Contacts`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC28
- Obsolete: Pending since 28.0, "Contact sync is now moved to assisted setup experience with new Graph based implementation."

## Deprecations

- object: Pending 28.0 (#if not CLEAN28), "Contact sync is now moved to assisted setup experience with new Graph based implementation."

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: "codeunit", object_name: "O365 Contact Sync. Helper")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
