Era Host hosting
EraHost – Free Domain, Cheap Hosting!
Client Area
Support 24/7
Menu

Fix: MSOID Record Not Resolving (msoid.clientconfig.microsoftonline-p.net)

4 min read
15.03.2025

If your MSOID CNAME record is not resolving, it means Microsoft cannot verify your domain for authentication, which may cause issues with Microsoft 365, Azure AD, and Single Sign-On (SSO). This problem often leads to user login errors, client application configuration issues, and problems using Microsoft cloud services.

Fixing MSOID Record Not Resolving error
MSOID record published but not resolving — typical Microsoft 365 setup failure.

For background and the closely-related "doesn't match expected values" variant, see MSOID DNS Record — What It Is and How to Configure It, Verify That the MSOID Record Works, Fix: "The Record We Detected Doesn't Match All the Expected Values", and Understanding clientconfig.microsoftonline-p.net (MSOID CNAME Record).

Verify if the MSOID Record Exists

Check if your MSOID CNAME record is properly configured in DNS.

Using Linux/macOS Terminal

Run the command:

dig CNAME msoid.yourdomain.com +short

Expected Output:

clientconfig.microsoftonline-p.net.

Using Windows Command Line

Run the command:

nslookup -type=CNAME msoid.yourdomain.com

Expected Output:

msoid.yourdomain.com canonical name = clientconfig.microsoftonline-p.net.

Using Online Tools

Check propagation on these sites:

If the record doesn't appear, your MSOID CNAME record is missing or configured incorrectly.

Check and Fix the DNS Record

Required MSOID CNAME Record

Record Type Host (Name) Value (Target) TTL
CNAME msoid.yourdomain.com clientconfig.microsoftonline-p.net 3600

Add or Fix the CNAME Record

For cPanel Users

  1. Log into cPanel.
  2. Go to "Zone Editor" > Click "Manage".
  3. Click "Add Record" > Select "CNAME".
  4. Enter:
  5. Click "Save".

For Cloudflare Users

  1. Log into Cloudflare > Go to "DNS Management".
  2. Click "Add Record" > Select "CNAME".
  3. Enter:
  4. Set proxy status to "DNS Only" (?? Grey cloud, NOT Orange ??).
  5. Click "Save".

For GoDaddy, Namecheap, or Other Registrars

  1. Log into your DNS management panel.
  2. Add a CNAME record:
  3. Click "Save".

Now the MSOID record should be properly configured.

Flush DNS Cache and Wait for Propagation

Flush Local DNS Cache

If the MSOID record was recently changed, flush the DNS cache.

Windows

ipconfig /flushdns

Linux/macOS (systemd)

sudo systemd-resolve --flush-caches

macOS (alternative)

sudo killall -HUP mDNSResponder

This clears old DNS entries and forces your computer to check for updated records.

Check Propagation Delays

DNS updates can take up to 48 hours. Use WhatsMyDNS to check if the CNAME record has propagated worldwide.

Tip: You can set a lower TTL value (e.g., 300 seconds) before making changes to speed up propagation. After updates, return TTL to the standard value.
cPanel Hosting
Full control over your website
  • Convenient
  • Simple
  • Fast
  • Free 7-day trial
cPanel Hosting

Re-verify in Microsoft 365

After properly configuring the record, force Microsoft to verify your DNS settings.

Check in Microsoft 365 Admin Center

  1. Go to Microsoft 365 Admin Center (admin.microsoft.com).
  2. Navigation: Settings > Domains.
  3. Select your domain.
  4. Click "Verify DNS settings".

Microsoft will now verify the MSOID record and other required records.

Troubleshooting if MSOID Still Won't Resolve

Problem Solution
MSOID record missing Add the correct CNAME record to DNS
DNS changes not detected Wait 24-48 hours for propagation
Cloudflare DNS issues Set proxy to "DNS Only" (Grey cloud ??)
Conflicting CNAME records Remove duplicate or incorrect CNAME records
Incorrect MSOID CNAME value Ensure target is clientconfig.microsoftonline-p.net (no prefix or suffix)
Record blocked by firewall Check firewall settings and network rules
DNS server cache issues Clear DNS cache on local router or ISP
Critical Error: If MSOID won't resolve, users cannot log into Microsoft 365. Ensure this record is prioritized when troubleshooting authentication issues.

Summary

Task Steps
Check if MSOID resolves Use dig CNAME msoid.yourdomain.com +short
Fix MSOID record Set CNAME to clientconfig.microsoftonline-p.net
Flush DNS and check propagation Use ipconfig /flushdns and WhatsMyDNS
Check in Microsoft 365 Go to Admin Center > Domains > Verify
Troubleshoot Check conflicting records, proxy settings, propagation delays

Your MSOID record should now resolve correctly!

© 2006 - 2026 EraHost. All rights reserved