Has anyone set up CiviMail to use Oauth to connect to Microsoft Exchange? The CiviCRM documentation deviates from that provided by Microsoft. Also, you can't add the account are trying to set up, as you get this error:

Application is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.

  • Cross-ref to lab.civicrm.org/dev/core/-/issues/2559, but posting here doesn't hurt either in case someone else has some solutions.
    – Demerit
    Jan 11 at 18:43
  • Editing <drupal root>\vendor\civicrm\civicrm-core\ext\oauth-client\providers\ms-exchange.dist.json to replace /common/ with /tenant-id/ enabled the application to be configured. Granting Graph API mail permissions in the application appeared to make it work. Jan 11 at 20:10
  • @Demerit I'd forgotten about that thread! Thanks for referencing it. I'll go to it. Jan 13 at 10:00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.