Symptoms

Office 365 tasks fail in POA with the error message Can not create DNS record for <domain.tld> of type TXT/CNAME. There is existing record, see the example below:

Task ID 208819
Queue name aps_application_instance880
Task name APS application 'Microsoft Office 365', id 101, instance 880 -> service 'customer', instance 1229: executing configuration script
 Task description APS application 'Microsoft Office 365', id 101, instance 880 -> service 'customer', instance 1229: executing configuration script
Subscription ID 2206
Queue status Failed 
Start not earlier than 07/18/2012 00:51
Method name taskExecuteApplicationInstanceScript on OBJREF:APSManagerTasks:0:getAPSExternalTasks:0
Last execution output Can not create DNS record for 'customer.com.' of type TXT. There is existing record with id 4471 and data '"v=spf1 include:outlook.com ~all"'.

Cause

Cause 1. The APS service controller in POA does not support multiple DNS records of the same type in a domain zone - TXT or CNAME, in this case.

Cause 2. Customer manually added TXT, MX or CNAME records in their domain and then tried to provision APS application to the domain. If application being installed tries to add conflicting DNS records then the problem will arise.

Cause 3. Customer added domain to an APS application which automatically created DNS records, e.g. Hostopia. Then customer tried to add the same domain to another APS application which tries to create DNS records of the same type, e.g. Office 365. The latter action leads to failed APS task in POA.

Resolution

Cause 1 - the problem is fixed in POA 5.4.8, upgrade POA to this or later version.

Cause 2 - remove manually added conflicting DNS record and re-run the failed task in POA.

Cause 3 - ask customer not to install two or more APS applications which require conflicting DNS records on the same domain.

Internal content

Link on internal Article