Integrate Exchange With MachPanel Control Panel


Summary

This article describes in detail about integrating Microsoft Exchange with MachPanel Control Panel.

Pre-Requisites:
  1. MachPanel Control Server has been installed, if not then follow below KB article:
    http://kb.machsol.com/Knowledgebase/Article/50261
  2. MachPanel Remote Server has been installed, if not then follow below KB article:
    http://kb.machsol.com/Knowledgebase/Article/50262
  3. Active Directory information has been added in MachPanel, if not then follow below KB article:
    http://kb.machsol.com/Knowledgebase/Article/50263
  4. If you want to use a service account to integrate service, then please create service account as per details in KB link below:
    http://kb.machsol.com/Knowledgebase/Article/50017

MachPanel Control Server and MachPanel Remote Server communicate with each other over Port 7860.  MachPanel Control Server passes on the information to remote server where actual provisioning takes place. Also make sure that MachPanel Control Server and MachPanel Remote Server are on the same build and that MachPanel Provisioning Service is running on both servers

Procedure:

1) Open MachPanel Control Panel Website (You can do it by opening MachPanel Control Server Configuration Studio and then navigating to Configure > Control Panel Website, and then clicking on the URL in it). Log in with the provider credentials. MachPanel supports following versions of Exchange Servers in Build v5.3.10 and above:



2) Navigate to Home > Service Director > Exchange Hosting > Server group and then click on Add Server Group. There are two steps in adding Exchange server in MachPanel.

Integrating Exchange 2007/2010 StandAlone:

a) In first step you will be asked to provide the server group name and LDAP for the OU under which you want all your hosting companies to go in Active Directory. Select the provider e.g. Exchange Server 2007/Exchange server 2010. Make sure to select the Active Directory from drop down menu against the Active Directory Domain. See below screenshot:

  • Use Override domain credentials option if you are using different account for this service from what is specified in Active directory domain settings.
  • Click to expand the Additional settings and fill in the following fields in Additional settings section. See the snapshot below:

Fill in the form by following fields:

  1. Platform access domain: Entering platform access domain.
  2. Auto discover URL: Entering Auto discover URL.
  3. MX record : Entering MX records. [Comma separated MX record values]
  4. SPF Value: Entering sender policy framework value.
  5. OWA URL: Entering OWA URL.  
  6. Outlook Anywhere URL:  Entering Outlook Anywhere URL.
  7. Incoming mail Address (POP/IMAP): Entering incoming mail address or POP/IMAP address.
  8. Outgoing Mail (SMTP): Entering outgoing mail or SMTP address.
  9. Exchange Proxy Setting: Entering Exchange proxy setting.  
NOTE: Please find the SOP for Exhange Server (All versions) Additional Setting.

*Make sure that the 'Exchange Trusted Subsystem' has Full Control' over the given OU and that for Exchange Trusted Subsystem it has 'This object and all descendant objects' granted 'Full Control'. For help follow KB article given below:
http://kb.machsol.com/Knowledgebase/Article/50243

b) In second step you will be asked to provide the Exchange server details such as Reference Id, OAB distribution method and server alias and IP. For Exchange 2007/Exchange 2010 standalone mode you will need to provide the IP and server details of Exchange Mailbox server for the database. See the below snapshot:


c) Give the remote server FQDN, and click on 'Get Mailbox Databases'. After clicking Get mailbox Databases MachPanel will fetch the mailbox databases details and will be shown against the 'Mailbox database' in drop down menu. Also provide the CAS external FQDN against the CAS External FQDN. See the snapshot below for reference:

If you encounter below error upon clicking 'Get Mailbox Databases':
Operation failed due to service credentials being synchronized, Please try again after 10 Seconds. If problem persists contact system administrator
Then follow this KB article to resolve this issue first:
http://kb.machsol.com/Knowledgebase/Article/50257

Integrating Exchange 2010 Hosting Mode:

a) For Exchange 2010 Hosting mode you will need to provide the Exchange Server name and provider similar to Exchange 2010 standalone mode. The only difference in the step one will be that in Hosting mode you will not be asked for the LDAP of OU. See the snapshot below:

  • Use Override domain credentials option if you are using different account for this service from what is specified in Active directory domain settings.
  • Click to expand the Additional settings. Fill in the form Additional settings same as mentioned above in Integrating Exchange 2007/Standalone 2010. Find SOP for additional settings at KB article http://kb.machsol.com/Knowledgebase/Article/50336.

b) In the second step you will be asked to provide the all the details similar as mentioned in adding Exchange 2007/exchange 2010 standalone mode. The difference in Hosting mode will be that you will provide the CAS server FQDN against Remote Server FQDN and then click on the Get Mailbox Database. See the snapshot below:

If you encounter below error upon clicking 'Get Mailbox Databases':
Operation failed due to service credentials being synchronized, Please try again after 10 Seconds. If problem persists contact system administrator
Then follow this KB article to resolve this issue first:
http://kb.machsol.com/Knowledgebase/Article/50257

c) One last thing with Exchange 2010 hosting to do is to prepare back end for provisioning, for this follow this KB article:
http://kb.machsol.com/Knowledgebase/Article/50255

Integrating Exchange 2013/2016/2019

Note: Integrating Exchange 2019 in Control Panel is same as integrating Exchange 2013/2016. You can follow same steps below to integrate Exchange 2019 in MachPanel.

a) In Step-1 for Exchange 2013/2016/2019 you will need to provide the Exchange Server Group Name, Provider & Active Directory Domains. See the snapshot below:


  • Use Override domain credentials option if you are using different account for this service from what is specified in Active directory domain settings.
  • Click to expand the Optional settings. Fill in the form Optional settings same as mentioned above in Integrating Exchange 2007/Standalone 2010. Find SOP for optional settings at http://kb.machsol.com/Knowledgebase/Article/50336.

b) In the second step you will be asked to provide all the details similar as mentioned in adding Exchange 2010 Hosting mode. See the snapshots below:



If you encounter below error upon clicking 'Get Mailbox Databases': Operation failed due to service credentials being synchronized, Please try again after 10 Seconds. If problem persists contact system administrator

Then follow this KB article to resolve this issue first:

http://kb.machsol.com/Knowledgebase/Article/50257

3) When all the details are completed click on finish and it will complete the server group addition in MachPanel. After adding the server group, go to Server group tab and click on test service for the newly added service group to verify the connection between MachPanel control server and Exchange remote server:






If you receive above message upon 'test service', then you have successfully integrated Exchange into MachPanel.