---
id: object/codeunit/4503
type: object
title: Codeunit 4503 "Microsoft 365 Connector"
summary: Codeunit 4503 "Microsoft 365 Connector" in Email - Microsoft 365 Connector (System.Email). 15 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - email - microsoft 365 connector
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: 6fbf3511ca29ab418981cf1d4895622372c43f4dbf5c6aa6e1951b4509336db9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Email%20-%20Microsoft%20365%20Connector/app/src/Microsoft365Connector.Codeunit.al
    title: src/Apps/W1/Email - Microsoft 365 Connector/app/src/Microsoft365Connector.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: 4503
name: Microsoft 365 Connector
namespace: System.Email
app: Email - Microsoft 365 Connector
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: 15
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 3
---

# Codeunit 4503 "Microsoft 365 Connector"

> Codeunit 4503 "Microsoft 365 Connector" in Email - Microsoft 365 Connector (System.Email). 15 public procedures. Introduced in BC29, still in BC30.

Email - Microsoft 365 Connector · System.Email · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Email%20-%20Microsoft%20365%20Connector/app/src/Microsoft365Connector.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "Email - Outlook Account" = r |

## Procedures

- `Send(EmailMessage: Codeunit "Email Message"; AccountId: Guid)`
- `GetEmailFolders(AccountId: Guid; var EmailFolders: Record "Email Folders" temporary)`
- `RetrieveEmails(AccountId: Guid; var EmailInbox: Record "Email Inbox"; var Filters: Record "Email Retrieval Filters" temporary)`
- `Reply(var EmailMessage: Codeunit "Email Message"; AccountId: Guid)`
- `MarkAsRead(AccountId: Guid; ExternalMessageId: Text)`
- `RegisterAccount(var Account: Record "Email Account"): Boolean`
- `ShowAccountInformation(AccountId: Guid)`
- `GetAccounts(var Accounts: Record "Email Account")`
- `DeleteAccount(AccountId: Guid): Boolean`
- `GetDescription(): Text[250]`
- `GetLogoAsBase64(): Text`
- `GetDefaultEmailRateLimit(): Integer`
- `GetEmailCategories(AccountId: Guid; var EmailCategories: Record "Email Categories" temporary)`
- `CreateEmailCategory(AccountId: Guid; CategoryDisplayName: Text; CategoryColor: Text): Text`
- `ApplyEmailCategory(AccountId: Guid; ExternalId: Text; Categories: List of [Text])`

## 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 4509 "Email - Outlook API Helper"](../codeunit/4509.md) (12 calls: `ApplyEmailCategory → ApplyEmailCategory`, `CreateEmailCategory → CreateEmailCategory`, `DeleteAccount → DeleteAccount`, …)
- [Page 4503 "Microsoft 365 Email Account"](../page/4503.md) (1 call: `ShowAccountInformation → (object)`)

## Implements

- [Codeunit 8896 "Default Email Rate Limit"](../codeunit/8896.md)
- [Interface "Email Connector"](../interface/email-connector.md)
- [Interface "Email Connector v5"](../interface/email-connector-v5.md)

## 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: "codeunit", object_name: "Microsoft 365 Connector")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
