Symptoms
Cannot enable mail hosting (Exchange 2013) for subscription with following error:
Could not find the following Exchange 2013 services for provisioning: Exchange2013Mailstore (mailboxes), Exchange2013Mailstore (public folders), Exchange2013SMTP, Exchange2013SMTPAuth, Exchange2013OAB, Exchange2013POP3, Exchange2013IMAP4, Exchange2013Protocols, Exchange2013Autodiscover. Please check the following requirements are met: 1) all necessary services are installed in one AD domain ('$DOMAIN'); 2) all services have the specified attributes ('$ATTRIB'); 3) there are some mailbox stores on mail-store services which have the specified attributes (''); 4) there exist ready to provide mailbox and (or) public folder stores; 5) branding is configured.
A the same time, following is logged in poa.debug.log:
Mar 5 21:23:49 linmn : INF [UI:fa6b2535:1394072628638 1:14893:f60fbb70 Exchange]: [Exchange::Utils::ServiceFilter::filterUnacceptableDomains] [Service selection] AD domain '$DOMAIN' excluded because it does not have required service with type 'Exchange2013Mailstore'
Mar 5 21:23:49 linmn : DBG [UI:fa6b2535:1394072628638 1:14893:f60fbb70 Exchange]: [Exchange::Utils::ServiceFilter::filterUnacceptableDomains] <=== EXIT [0.000235]
Mar 5 21:23:49 linmn : INF [UI:fa6b2535:1394072628638 1:14893:f60fbb70 Exchange]: [Exchange::Utils::ServiceFilter::filter] [Service selection] Stopped - there is no acceptable domain
Mar 5 21:23:49 linmn : DBG [UI:fa6b2535:1394072628638 1:14893:f60fbb70 Exchange]: [Exchange::Utils::ServiceFilter::filter] <=== EXIT [0.756841]
Mar 5 21:23:49 linmn : DBG [UI:fa6b2535:1394072628638 1:14893:f60fbb70 lib]: [Exchange::Utils::ServiceFilterForProvide::filter] {module_id="Exchange"; code="53"} Could not find the following Exchange 2013 services for provisioning: Exchange2013Mailstore (mailboxes), Exchange2013Mailstore (public folders), Exchange2013SMTP, Exchange2013SMTPAuth, Exchange2013OAB, Exchange2013POP3, Exchange2013IMAP4, Exchange2013Protocols, Exchange2013Autodiscover. Please check
the following requirements are met: 1) all necessary services are installed in one AD domain ('$DOMAIN'); 2) all services have the specified attributes ('$ATTRBIUTE');
3) there are some mailbox stores on mail-store services which have the specified attributes (''); 4) there exist ready to provide mailbox and (or) public folder stores; 5) branding is configured.
Cause
This is caused by POA-84162.
Resolution
As a workaround, provider may change the exchange_version
for BES service to 2013 manually in POA DB:
plesk=> select * from exch_services;
service_id | service_type | host_id | exch_org_dn | exchange_version
------------+---------------+----------+----------------------------------------------------------------------------------------------------------------------+------------------
132 | 2 | 56 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
134 | 2 | 57 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
136 | 5 | 54 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
137 | 6 | 54 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
138 | 7 | 54 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
139 | 9 | 54 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
140 | 5 | 55 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
141 | 6 | 55 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
142 | 7 | 55 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
143 | 1 | 54 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
144 | 9 | 55 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
145 | 8 | 54 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
146 | 1 | 55 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
147 | 8 | 55 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
188 | 3 | 59 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 0
198 | 0 | 56 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
199 | 0 | 57 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=,DC=,DC= | 2013
(17 rows)
Please note, that it is highly recommended to make a database backup before the modifications are made.
plesk=> begin; update exch_services set exchange_version = 2013 where service_id = 188;
UPDATE 1
plesk=> select * from exch_services where service_id = 188;
service_id | service_type | host_id | exch_org_dn | exchange_version
------------+--------------+---------+---------------------------------------------------------- -------------------------------------------+------------------
188 | 3 | 59 | CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=dev,DC=na,DC=cloud,DC=local | 2013
(1 row)
plesk=> commit;
COMMIT