Need help with Azure AD connec

Tuff Gong 6 Reputation points

Hi guys!
I am setting up a lab environment for adfs. I have a web proxy , DC and adfs server and i was able to set up the adfs with web proxy without any problem. Now i want to use office 365 with my adfs according to the instructions i was following to install Azure AD, i need to install the Azure AD on my th adfs server which i did. But the problem is i get this error message "The provided credentials are valid, however we were unable to establish connection to the local computers forest. Please make sure UDP and TCP ports 389 are open in Doman Controlla associated with the current local computers forest" at Connect to AD DS when i put the domain credentials. I tried turning of the firewalls on all VMS but didnt help. Im stuck now.
` Does anyone know what i did / doing wrong and can help?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,365 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tuff Gong 6 Reputation points

    I verified my domain in office 365 admin portal but i didnt configure all the dns required by office 365, i dont know if that is the course. I dont know where to look also since turning off the windows firewall on the DC and adfs does not help

    0 comments No comments

  2. Jeet Sharma 1 Reputation point

    Not all the ports that are listed in the tables here are required in all scenarios. For example, if the firewall separates members and DCs, you don't have to open the FRS or DFSR ports. Also, if you know that no clients use LDAP with SSL/TLS, you don't have to open ports 636 and 3269.

    You might want to configure a firewall for Active Directory domains and trusts

    The two domain controllers are both in the same forest, or the two domain controllers are both in a separate forest. Also, the trusts in the forest are Windows Server 2003 trusts or later version trusts.

    Following link might help further, if you haven't looked at it yet.

    0 comments No comments