---
title: "Table 407 Graph Mail Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/407-graph-mail-setup/
type: table
id: 407
name: "Graph Mail Setup"
app: "Base Application"
namespace: Microsoft.Integration.Graph
versions: "17-25"
build: 25.5.30849.36072
obsolete: "Removed 24.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 407 Graph Mail Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/table/407-graph-mail-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.Graph |
| Versions | 17-25 |
| Obsolete | Removed 24.0, seen from 21. Microsoft Invoicing has been discontinued. |
| Source file | Integration/Graph/GraphMailSetup.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Code | Code[10] | 17-25 | - | - |
| 2 | Refresh Code | Blob | 17-25 | Removed 15.0 | The suggested way to store the secrets is Isolated Storage, therefore this field will be removed. |
| 3 | Expires On | DateTime | 17-25 | - | - |
| 4 | Sender Email | Text[250] | 17-25 | - | - |
| 5 | Sender Name | Text[250] | 17-25 | - | - |
| 6 | Enabled | Boolean | 17-25 | - | - |
| 7 | Sender AAD ID | Text[80] | 17-25 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Code | 17-25 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| IsEnabled | () | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| RenewRefreshToken | () | - | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| SendTestMail | (Text) | - | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| SendMail | (Record Email Item, var Text) | - | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| SetRefreshToken | (Text) | - | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| Initialize | (Boolean) | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |

## 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.

Jonas Paprotka, 2026-09-20.
