Hello,
Trying to authenticate a subdomain so that I can embed a marketing form by following the instructions on Microsoft Docs
docs.microsoft.com/.../mkt-settings-authenticate-domains
However it's not clear what I should be doing for a subdomain.
Using the example, I already have the domain 'contoso.com' authenticated for both email & forms on the Marketing Authenticated Domains.
However I will be hosting the marketing form on 'promo.contoso.com'.
Should I create an entry for 'promo.contoso.com' or for 'promo'?
To add to that, I have a CNAME setup for 'promo.contoso.com', so there is already a CNAME record on my domain registrar's DNS with the 'promo.contoso.com' host so it's not letting me add the TXT record for the d365mktkey, if I create a 'promo.contoso.com' in the Marketing Authenticated Domains.
TIA
Hi ASilva,
It seems that I have missed something: even if the DKIM key is fixed, but we will append subdomain to them in DNS settings.
Try following settings and check whether it would work for you.(However, my subdomain is set up as a CNAME record instead.)
Thank you cloflyMao
I'm also using CF but my setup is different from yours. My domain isn't managed via CF, it's managed elsewhere and the subdomain is setup in CF as an A record.
Also, my domain has been successfully authenticated with D365 and when I try to generate the DKIM for the 'promo.contoso.com' it doesn't create them in the same format as yours, the format is always 'apjkey1._domainkey', which may related to this part:
"Due to DKIM hosts are fixed, (apjkey1._domainkey and apjkey2._domainkey, If CRM region is APAC.) and they can only have one value(apjkey1promocontosocom.marketing.dynamics.com), so it means that we can only use one domain(root domain or subdomain) in each time."
I don't want emails to be sent from @promo.contoso.com so can I keep the 'contoso.com' authentication for email and enable only the form authentication for 'staging.contoso.com'? Although in this case I may still have the same issue where I can't add the TXT record to my DNS entry as there is already a 'promo.contoso.com' entry for the CF CNAME setup.
Seem to be going around in circles with this one :D
Hi TIA,
Here is sample of my configuration, the domain provider is CloudFlare.
1. In Authenticated Domain settings, we should add full subdomain.
So you should add 'promo.contoso.com' as domain name field value.
2. In DNS settings:
TXT: promo.contoso.com -> d365mktkey=s1234567(In CF, it will shorten the subdomain to promo.)
CNAME: apjkey1._domainkey.promo -> apjkey1promocontosocom.marketing.dynamics.com
CNAME: apjkey2._domainkey.promo -> apjkey2promocontosocom.marketing.dynamics.com
3. Click Confirm button and test.
Marketing form
Marketing email
In addition,
1. Due to DKIM hosts are fixed, (apjkey1._domainkey and apjkey2._domainkey, If CRM region is APAC.) and they can only have one value(apjkey1promocontosocom.marketing.dynamics.com), so it means that we can only use one domain(root domain or subdomain) in each time.
2. This website is helpful to check whether DKIM was added successfully.
https://mxtoolbox.com/SuperTool.aspx
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156