Setting Up Custom Domain Email with Microsoft 365
### Step 1 — Add your domain
1. Go to admin.microsoft.com
2. Settings → Domains → Add domain
3. Enter your domain name
### Step 2 — Verify ownership
Add a TXT record to your DNS (e.g. MS=ms12345678). DNS propagation: 15 min–48 hours.
### Step 3 — Add DNS records for email
| Type | Name | Value |
|------|------|-------|
| MX | @ | yourcompany-com.mail.protection.outlook.com |
| TXT | @ | v=spf1 include:spf.protection.outlook.com -all |
| CNAME | autodiscover | autodiscover.outlook.com |
### Step 4 — Create mailboxes
Users → Active users → Add a user → Assign licence → They receive email at name@yourcompany.com
### Common Issues
- **MX not updated:** Double-check MX record priority (0 or 10)
- **SPF conflict:** Merge multiple SPF records into one
- **Autodiscover failing:** Verify the CNAME record