Hello MohammedAnees-9236,
Thank you for posting here.
1.We can validate the trust relationship between AA and BB.
For example, on one DC in AA, open Active Directory Domains and Trusts.
right click the domain name\Properties\Trusts tab\select BB domain\Properties\Validate\type the domain administrator credentials and click OK. If we receive the message "The trust has been validates. It is in place and active", it means the forest/domain trust is OK.
2.And perform the same steps on DC in BB.
3.If we can not validate trust relationship between AA and BB, we should reset up trust between AA and BB.
4.Before establishing forest/domain trust, we need to set up conditional forwarders OR secondary zone. We can set up conditional forwarders OR secondary zone based on the steps in the following similar cases.
setup of trust relationship between 2 domains
https://social.technet.microsoft.com/Forums/windowsserver/en-US/9e501d72-5457-421a-b81b-3a1f83ac7b0e/setup-of-trust-relationship-between-2-domains?forum=winservergen
5.Then we can refer to the link below to create forest/domain trust.
http://technet.microsoft.com/en-us/library/cc780479(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc740018(WS.10).aspx
6.Meanwhile, ensure all the AD required ports are open.
Active Directory and Active Directory Domain Services Port Requirements
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd772723(v=ws.10)?redirectedfrom=MSDN
Active Directory Replication over Firewalls
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/bb727063(v=technet.10)?redirectedfrom=MSDN
If anything is unclear, please feel free to let us know.
Best Regards,
Daisy Zhou