Skip main navigation

Microsoft Exchange On-Premises

Whereas the previous step dealt with Microsoft Exchange Online services, this step will discuss necessary considerations and differences when working
Whereas the previous step dealt with Microsoft Exchange Online services, this step will discuss necessary considerations and differences when working with an on-premises Microsoft Exchange instantiation.

For the mail processing in Common Data Services (CDS) for Apps, you can connect your apps with Microsoft Exchange Server on-premises.

Before connecting you must ensure that the following prerequisites are met:

Exchange Server Only the following versions are supported: Exchange Server 2010 SP3, Exchange Server 2013 SP1, or Exchange Server 2016
Authentication Windows or Basic authentication must be enabled in Exchange Server
Application Impersonation When connecting to the Exchange server on-premises, CDS needs to access users’ mailboxes. This is done by using a service account with the ApplicationImpersonation role. For more details see Impersonation and EWS in Exchange.
Secured connection Exchange server must support secure (https) connections
Exchange Web Services (EWS) Exchange server must be accessible externally using EWS protocol.

You may need to work with your Exchange Server administrator to ensure that all these prerequisites are met.

Create Server Profile

To connect to the Exchange Server, a new Email Server profile is required. To create a new profile, navigate to Settings for the environment in the Power Platform Admin centre then select Server profiles in the Email section.

screenshot of Power platform with Server Profiles highlighted beneath the Emails category

In the list view, select New > Exchange Server (Hybrid) to create the profile.

a screenshot of New Email Server Profile screen, with Server Type set to Exchange Server (Hybrid)

At a minimum, you need to specify the profile name and the credentials for the Exchange service account that was granted the ApplicationImpersonation role.

For the properly configured standard Exchange Server on-premises deployments, this is usually sufficient; however, you may need to review and adjust some of the advanced settings.

See Connect to Exchange Server for the details.

After the profile has been saved, you can use the Test-Connection command to verify the profile. If you’ve run Test Connection and have issues with the Exchange Server (Hybrid) profile connection, use the information in the Test Connection dialogue box to diagnose and fix the connection.

Once the Microsoft Exchange (Hybrid) profile is verified, it can be used as a default profile for the new mailboxes added to the system. If there are multiple email profiles present in the system, select Microsoft Exchange (Hybrid) profile in the list and select Set as Default.

This article is from the free online

Dynamics 365: Implementing Power Platform Integrations

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education