Configuring Exchange Web Services for ndMail



ndMail uses Exchange Web Services (EWS) to interact with user email messages and folders.
NOTE: For more information, see

Enable Exchange Web Services

Exchange Web Services (EWS) is a foundational access method in the Exchange architecture. Microsoft builds both the Outlook client and the Outlook Web App (OWA) on EWS. To view how EWS fits into the Exchange environment, see the architectural diagram at

Configure Ports

ndMail is a cloud-based service. EWS is enabled on the Exchange Server by default. If Exchange is running on-premise, then port 443 is required to allow ndMail to access it.

NOTE: For more information, see

Service Application Access

Exchange integration for ndMail is built and deployed as a service application. To access the service application, you need to do the following:

  1. Create a service account. ndMail uses the basic authentication when creating the service account to EWS with an impersonation role assigned, allowing it to impersonate Exchange users to read folders and emails.
  2. Grant the service account a user impersonation role. For information on how to add impersonation role for a service account, see Configuring Impersonation for ndMail.

Administrators can manage EWS access controls using Exchange Management Shell and the following cmdlets:

  • Get-CASMailbox
  • Set-CASMailbox
  • Get-OrganizationConfig
  • Set-OrganizationConfig

NOTE: For more information, see

Back to Top

Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk