I was recently asked to work with another department to get free/busy searches to work across two domains. I did some research on this and nothing really came across to being really clear on this subject. For the scenario that I was working in there was two Active Directory Domains. Both Domains were mixed 2003 and 2008. Both domains had a sub domain that held the Exchange objects and a root domain that did not have any Exchange objects. One Domain was using Exchange 2007 and The other Exchange 2010.
There are two different ways that I could get f/b searches working. One is through DNS (which is used for domain that are UNTRUSTED) and the other is through the Availability Service (for TWO WAY TRUSTED domains).
Our goal was to get F/B searches working both ways so that users in the Exchange 2007 domain could do a F/B search on users in the Exchange 2010 domain and vice versa.
We worked with Microsoft on this one!!
On our first attempt we were able to get DNS F/B search working one way from Exchange 2010 to Exchange 2007. The setup was quite simple. What it took was that in each SSL certificate there had to be an Autodiscover.yourdomain.org entry. You also must have outlook anywhere enabled. Availability Services should be enabled as well but this is default for Exchange 2010/2007.
Keep in mind that the "yourdomain" part of this ssl cert entry HAS to be the primary domain that you use to send and receive email through. So if your email address is "gsp@gov.org then your autodiscovery address has to be Autodiscover.gov.org.
Next we created a user in each domain and gave that user Client Access Permissions rights.
http://technet.microsoft.com/en-us/library/bb125182.aspx
The next step was to powershell these commands
Set-AvailabilityConfig -OrgWideAccount "Gov\User" (the user you set up with Client Access Permissions rights)
This example adds the Availability address space configuration object for the source forest.
$a = get-credential (Enter the credentials for organization-wide user in Gov.org domain)
Add-AvailabilityAddressspace -Forestname Gov.org -Accessmethod OrgWideFB -Credential:$a
The last step was to add the autodiscover.gov.org to other local host file as ip of the CAS server that you are trying to view f/b info in. .
F/B viewing started working after that. Nothing had to be done to the clients. The reason why it only worked one way is because the other domain did not have Autodiscover.thierdomain.org entry in their ssl cert. I repeat the entry in the ssl has to be the same as your primary email domain address!
Our tasks was to get this working through the Availability Service NOT DNS! I was just lucky enough to gain knowledge of how to configure through this method because we had such a hard time getting Service Connection Point to work. SCP is what two trusted domains use to connect though Autodiscovery. What is need to use this is:
1 Domains have to be Trusted
2 Autodiscovery and Availability server need to be on.
3 GaLSync needs to be installed and configured between domains and emailed enabled contacts are synced.
4. A user with client access permissions rights has to be setup.
The big issue that we ran into was when we setup the trust between domains it was setup as an External trust instead of a forest level trust and the trust was set at the secondary domains instead of the ROOT.
So we had to configure a Forest level trust connecting the ROOTS of both forest.
After we had the trust fixed then we ran the following commands (excerpt from Microsoft's email)
1. From the source forest GOV.ORG
Add-AvailabilityAddressSpace -ForestName YOURDOM.ORG - AccessMethod PerUserFB -UseServiceAccount $true
2. From the target forest: YOURDOM.ORG
Get-ClientAccessServer | Add-AdPermission -AccessRights ExtendedRight -ExtendedRights "ms-exch-epi-token-serialization" -User " GOV.ORG \Exchange Servers"
3. From the target forest YOURDOM.ORG (typing in the GOV.ORG credentials when prompted):
Export-AutodiscoverConfig -DomainController "DC.YOURDOM.ORG" -TargetForestDomainController “DC.GOV.ORG “ -TargetForestCredential (Get-Credential) -MultipleExchangeDeployments $true
4. From the source forest GOV.ORG, testing the output for the SCP and EWS InternalUrl:
Get-ClientAccessServer | fl name, auto*
Get-WebServiceVirtualDirectory | fl name, InternalUrl
5. Test the cross forest free/busy.
There are two different ways that I could get f/b searches working. One is through DNS (which is used for domain that are UNTRUSTED) and the other is through the Availability Service (for TWO WAY TRUSTED domains).
Our goal was to get F/B searches working both ways so that users in the Exchange 2007 domain could do a F/B search on users in the Exchange 2010 domain and vice versa.
We worked with Microsoft on this one!!
On our first attempt we were able to get DNS F/B search working one way from Exchange 2010 to Exchange 2007. The setup was quite simple. What it took was that in each SSL certificate there had to be an Autodiscover.yourdomain.org entry. You also must have outlook anywhere enabled. Availability Services should be enabled as well but this is default for Exchange 2010/2007.
Keep in mind that the "yourdomain" part of this ssl cert entry HAS to be the primary domain that you use to send and receive email through. So if your email address is "gsp@gov.org then your autodiscovery address has to be Autodiscover.gov.org.
Next we created a user in each domain and gave that user Client Access Permissions rights.
http://technet.microsoft.com/en-us/library/bb125182.aspx
The next step was to powershell these commands
Set-AvailabilityConfig -OrgWideAccount "Gov\User" (the user you set up with Client Access Permissions rights)
This example adds the Availability address space configuration object for the source forest.
$a = get-credential (Enter the credentials for organization-wide user in Gov.org domain)
Add-AvailabilityAddressspace -Forestname Gov.org -Accessmethod OrgWideFB -Credential:$a
The last step was to add the autodiscover.gov.org to other local host file as ip of the CAS server that you are trying to view f/b info in. .
F/B viewing started working after that. Nothing had to be done to the clients. The reason why it only worked one way is because the other domain did not have Autodiscover.thierdomain.org entry in their ssl cert. I repeat the entry in the ssl has to be the same as your primary email domain address!
Our tasks was to get this working through the Availability Service NOT DNS! I was just lucky enough to gain knowledge of how to configure through this method because we had such a hard time getting Service Connection Point to work. SCP is what two trusted domains use to connect though Autodiscovery. What is need to use this is:
1 Domains have to be Trusted
2 Autodiscovery and Availability server need to be on.
3 GaLSync needs to be installed and configured between domains and emailed enabled contacts are synced.
4. A user with client access permissions rights has to be setup.
The big issue that we ran into was when we setup the trust between domains it was setup as an External trust instead of a forest level trust and the trust was set at the secondary domains instead of the ROOT.
So we had to configure a Forest level trust connecting the ROOTS of both forest.
After we had the trust fixed then we ran the following commands (excerpt from Microsoft's email)
1. From the source forest GOV.ORG
Add-AvailabilityAddressSpace -ForestName YOURDOM.ORG - AccessMethod PerUserFB -UseServiceAccount $true
2. From the target forest: YOURDOM.ORG
Get-ClientAccessServer | Add-AdPermission -AccessRights ExtendedRight -ExtendedRights "ms-exch-epi-token-serialization" -User " GOV.ORG \Exchange Servers"
3. From the target forest YOURDOM.ORG (typing in the GOV.ORG credentials when prompted):
Export-AutodiscoverConfig -DomainController "DC.YOURDOM.ORG" -TargetForestDomainController “DC.GOV.ORG “ -TargetForestCredential (Get-Credential) -MultipleExchangeDeployments $true
4. From the source forest GOV.ORG, testing the output for the SCP and EWS InternalUrl:
Get-ClientAccessServer | fl name, auto*
Get-WebServiceVirtualDirectory | fl name, InternalUrl
5. Test the cross forest free/busy.
No comments:
Post a Comment