Share via

How do I know what DNS record to add into the Microsoft setup wizard for my website?

Sinead Burke 60 Reputation points
2026-02-17T18:47:53.73+00:00

I have a domain but I don't know what DNS record to add for Microsoft 365 set up?

Microsoft 365 and Office | Subscription, account, billing | For business | MacOS
0 comments No comments
{count} votes

Answer accepted by question author
  1. Flora-T 11,440 Reputation points Microsoft External Staff Moderator
    2026-02-17T23:31:59.5433333+00:00

    Hi Sinead Burke

    Thank you for reaching out to Microsoft Q&A Forum and sharing your experience.

    At this stage of the Microsoft 365 setup, you only need to add the DNS record shown in the setup wizard for domain verification, which is typically a TXT record. Adding this TXT record verifies domain ownership and does not affect your existing email service or website.

    After the domain is verified, the setup wizard will display the specific DNS records required based on the services you choose to configure, such as MX records for email or CNAME records for Teams and other services. You do not need to add MX, Autodiscover, or SPF records until you are ready to migrate email to Microsoft 365. Email routing only changes after the MX records are updated.

    This question is related to your earlier thread: which should I choose 'Add record' or 'Import DNS records' if I want my current email to be unaffected for now. You can refer back to my response in that thread for additional information.

    Please let me know how things go on your side as your update can also assist others in the community who may be facing the same issue.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Answer accepted by question author
  1. Q&A Assist
    2026-02-17T18:48:03.4+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To determine what DNS record to add for Microsoft 365 setup, you will typically need to create either a TXT record or an MX record to verify your domain ownership. Here’s how you can find the specific record you need:

    1. Access the Microsoft 365 Admin Center: Sign in to your Microsoft 365 admin center and navigate to the Domains section.
    2. Select Your Domain: Choose the domain you want to set up and proceed with the setup wizard.
    3. Get the TXT or MX Record Value: On the domain verification page, Microsoft will provide you with a specific TXT value (e.g., MS=msXXXXXXXX) or MX record details that you need to add to your DNS records.
    4. Add the Record: Go to your DNS hosting provider's website, find the area to create a new DNS record, and enter the provided TXT or MX record information.
    5. Verify the Domain: After adding the record, return to the Microsoft 365 admin center and verify the domain.

    For detailed instructions on how to create these records, refer to the documentation provided by your DNS hosting provider or the Microsoft 365 setup guide.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.