Skip to content

Graph: Implement Graph backend to eventually replace EWS and support outlook.com access #404

@mguessan

Description

@mguessan

Microsoft decided to deprecate EWS API a while ago, planned retirement is currently 2026. This means that DavMail will no longer work without a new backend implementation, namely using the Graph API.

Creating this ticket to track implementation progress:

  • Implement authentication for live.com accounts in O365Authenticator: DONE
  • Basic folder management: DONE
  • Calendar and contact folder management: DONE
  • Basic mail create/update/delete: DONE
  • Calendar access: IN PROGRESS
  • Contact management: IN PROGRESS
  • LDAP: TODO

Current state is pre alpha, don't use it for production mailbox access. Basic connection and folder/mail management is operational

Prerequisite:

  • Original DavMail clientId will not work, does not have the right scopes and Microsoft retired non Entra ID application management
  • enable Graph and OIDC authentication in davmail configuration:
davmail.enableGraph=true
davmail.enableOidc=true
  • configure the new testing clientId - may change in the future -
davmail.oauth.clientId=290dc8b3-3f35-4438-af02-5edeec571f4e
davmail.oauth.redirectUri=https://login.microsoftonline.com/common/oauth2/nativeclient
  • or use the classic Outlook desktop clientId - will not work with live.com accounts -
davmail.oauth.clientId=d3590ed6-52b3-4102-aeff-aad2292ab01c
davmail.oauth.redirectUri=urn:ietf:wg:oauth:2.0:oob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions