Skip to main content

Overview

A domain is a custom sending domain added to a Microsoft 365 tenant. Microsoft imposes no hard limit on custom domains per tenant. TenantCore recommends 12 domains per tenant as the optimal structure for cold email infrastructure. TenantCore generates all DNS records required to configure the domain at your registrar and queries live DNS status on each domain so you can monitor authentication health across your infrastructure. The standard TenantCore structure is:
Domains must be verified in Microsoft 365 before mailboxes can be provisioned on them. Add the domain first, configure the DNS records at your registrar, then verify via the TenantCore app.

List domains

Returns all custom domains registered on a tenant, including live DNS health status.
Path parameters Example request
Example response
Response fields Errors

Add domain

Adds a custom domain to a tenant in Microsoft 365 and returns the DNS records you need to configure at your registrar. The domain is created in Microsoft but remains unverified until you add the required DNS records and trigger verification.
Path parameters Request body
Example request
Example response
After adding a domain
  1. Add the verification_dns_records TXT record at your registrar
  2. Add all service_configuration_records (MX, CNAME for DKIM, TXT for SPF)
  3. Wait for DNS propagation (typically 5 to 30 minutes, up to 48 hours)
  4. Trigger domain verification from the TenantCore app
Errors

Verify domain

Triggers Microsoft domain verification after DNS records have been configured. This is required before mailboxes can be created and sending can begin.
Path parameters Example request
Example response
Errors

Enable DKIM

Enables DKIM signing for a verified domain. This is required for full email authentication and deliverability.
Path parameters Example request
Example response
Errors

Get DKIM status

Returns the current DKIM state for a domain. Useful for polling until DNS propagation is complete and DKIM can be enabled.
Path parameters Example request
Example response
Response fields

Get DNS records

Returns the stored DNS records and current DNS health for a specific domain. This does not trigger a live DNS re-check — it returns what was last recorded. Use the TenantCore app to trigger a fresh DNS check.
Path parameters Example request
Example response
Errors