Edit

Office.MailboxEnums.TokenStatus enum

Specifies the status of Exchange Web Services (EWS) callback tokens or REST API tokens in an organization.

Remarks

[Api set: Mailbox 1.16]

Applicable Outlook mode: Compose or Read

Important: Legacy Exchange Online user identity tokens and callback tokens are no longer supported and are turned off across all Microsoft 365 tenants. If an Outlook add-in requires delegated user access or user identity, we recommend using MSAL (Microsoft Authentication Library) and nested app authentication (NAA). Exchange user identity tokens are still supported for Exchange on-premises. For more information, see Nested app authentication FAQ.

Fields

Disabled = 0

EWS callback tokens or REST API tokens are turned off in the organization.

Enabled = 1

EWS callback tokens or REST API tokens are supported in the organization.

Removed = 2

The mailbox is hosted in an Exchange Online environment where EWS tokens are turned off and are no longer supported.