Table of Contents

Property Microsoft

Namespace
MailFathom.Common.MailboxOAuth
Assembly
MailFathom.Common.dll

Microsoft

Gets the preset for Microsoft work, school, and personal accounts against Exchange Online.

public static MailProviderPreset Microsoft { get; }

Property Value

MailProviderPreset

Remarks

The endpoints target the common tenant, which admits both organizational and personal accounts. A deployment restricted to one tenant substitutes its identifier and supplies the three addresses explicitly.

offline_access is part of the scope because Entra issues no refresh token without it, and a grant that authenticates once would strand the deployment at the first access-token expiry.