"The computer must be joined to a domain" error when you try to install the Windows Azure Active Directory Sync Tool

Article translations Article translations
Article ID: 2419250 - View products that this article applies to.
Expand all | Collapse all

PROBLEM

When you try to install the Windows Azure Active Directory Sync Tool, you may receive the following error message:
The computer must be joined to a domain.

CAUSE

This issue may occur if the computer isn't joined to an Active Directory Domain Services (AD DS) domain or if the computer doesn't register a host (A) resource record with its Domain Name System (DNS).

SOLUTION

To resolve this issue, use one of the following methods.

Method 1: Computer isn't joined to an AD DS domain

Join the computer to an AD DS domain. To do this, follow these steps:
  1. On the computer that you want to join to a domain, click Start, click Control Panel, and then double-click System.
  2. Under Computer name, domain, and workgroup settings, click Change settings.
  3. On the Computer Name tab, click Change.
  4. Under Member of, click Domain, type the name of the domain that this computer will join, and then click OK.
  5. Click OK, and then restart the computer.

Method 2: Computer is already joined to an AD DS domain

If the computer is already joined to an AD DS domain, make sure that the computer's DNS settings are correct and that a host (A) resource record for the computer is registered with DNS. To do this, follow these steps:
  1. Open Network Connections.
  2. Right-click the network connection that you want to set up, and then click Properties.
  3. Do one of the following, as appropriate for the connection that you want to set up:
    • For a local area connection: On the General tab, click Internet Protocol (TCP/IP), and then click Properties.
    • For all other connections: On the Networking tab, click Internet Protocol (TCP/IP), and then click Properties.
  4. If you want to obtain DNS server addresses from a Dynamic Host Configuration Protocol (DHCP) server, click Obtain DNS server address automatically.
  5. If you want to configure DNS server addresses manually, click Use the following DNS server addresses. In the Preferred DNS server box, type the IP addresses of the preferred DNS server. In the Alternate DNS server box, type the IP addresses of the alternative DNS server.
  6. Click OK two times, and then close Network Connections.
  7. At a command prompt, type the following commands, and press ENTER after each command:
    ipconfig /flushdns
    ipconfig /registerdns
  8. If the issue isn't resolved, restart the computer that has Directory Sync Tool installed.
  9. If the issue still isn't resolved, make sure that the computer that has the Directory Sync Tool is installed can communicate with the computer that's running AD DS.

MORE INFORMATION

Still need help? Go to the Office 365 Community website or the Windows Azure Active Directory Forums website.

Properties

Article ID: 2419250 - Last Review: October 31, 2013 - Revision: 21.0
Applies to
  • Windows Azure
  • Microsoft Office 365
  • Microsoft Office 365 for enterprises (pre-upgrade)
  • Microsoft Office 365 for education  (pre-upgrade)
  • CRM Online via Office 365 E Plans
  • Windows Azure Recovery Services
Keywords: 
o365 o365a o365e o365m o365022013 after upgrade o365062011 pre-upgrade KB2419250

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com