The MSOID (Microsoft Online Identity) DNS record is a CNAME record that helps Microsoft services verify domain ownership and provide authentication for Microsoft 365 (Office 365), Azure AD, and other Microsoft cloud services.
Without a properly configured MSOID record, users may experience issues logging into Microsoft 365, configuring email clients, or using cloud services.
Configuring the MSOID record is a critical step when migrating to Microsoft 365 or setting up Microsoft cloud services. This process involves adding a CNAME record to your domain's DNS.
When setting up Microsoft 365 or Azure AD, Microsoft provides the exact CNAME record you need to add. The record typically follows this format:
| Record Type | Host (Name) | Value (Target) | TTL |
|---|---|---|---|
| CNAME | msoid.yourdomain.com | clientconfig.microsoftonline-p.net | 3600 |
Replace yourdomain.com with your actual domain name.
For cPanel Users
For Cloudflare Users
For Other Registrars (GoDaddy, Namecheap, etc.)
clientconfig.microsoftonline-p.net without https:// or a trailing slash.
After updating the DNS record, check if it has propagated across the network.
Using Command Line (Linux/Mac)
Expected Output:
Using Windows CMD
Using Online Tools
Check propagation using:
msoid.yourdomain.com| Problem | Solution |
|---|---|
| MSOID not resolving | Wait 24-48 hours for DNS propagation |
| Incorrect MSOID record value | Ensure it points to clientconfig.microsoftonline-p.net |
| Microsoft 365 login issues | Check if other required DNS records are properly configured (MX, TXT, SPF, DKIM) |
| Cloudflare proxy issue | Disable proxy for the MSOID record (set to "DNS Only") |
| Conflicting CNAME records | Remove duplicate or outdated CNAME records |
After configuring and propagating the MSOID record, Microsoft services will be able to recognize your domain for authentication.
| Task | Steps |
|---|---|
| Find MSOID record | Get CNAME data from the Microsoft 365 Admin Center |
| Add MSOID record to DNS | Use cPanel, Cloudflare, or your DNS provider |
| Verify MSOID record | Use dig, nslookup, or MXToolbox |
| Troubleshoot issues | Ensure correct value, wait for propagation, check other DNS records |
Your MSOID record is now properly configured for Microsoft authentication!