Configure a multi-forest environment for hybrid Skype for Business

Skype for Business Server 2015

마지막으로 수정된 항목: 2017-03-17

The following sections provide guidance on how to configure an environment that has multiple forests in a Resource/User forest model to provide 비즈니스용 Skype functionality in a hybrid scenario.

Multiple user forests are supported. Keep the following in mind:

For more information, please refer to 비즈니스용 Skype 서버 2015에 대한 환경 요구 사항.

비즈니스용 Skype users homed on premises can have Exchange homed on premises or online. 비즈니스용 Skype 온라인 users should use Exchange Online for an optimal experience; however, this is not required. Exchange on premises is not required to implement 비즈니스용 Skype in either case.

The trusts required are two-way transitive trusts between the resource forest and each of the user forests. If you have multiple user forests, to enable cross-forest authentication it is important that Name Suffix Routing is enabled for each of these forest trusts. For instructions, see Managing Forest Trusts.

When 비즈니스용 Skype 서버 is deployed in one forest (a resource forest), but provides functionality to users in one or more other forests (account forests), users in the other forests must be represented as disabled user objects in the forest where 비즈니스용 Skype 서버 is deployed. An identity management product, such as Microsoft Identity Manager, needs to be deployed and configured to provision and synchronize the users from the account forests into the forest where 비즈니스용 Skype 서버 is deployed. Users must be synchronized into the forest hosting 비즈니스용 Skype 서버 as disabled user objects. Users cannot be synchronized as Active Directory contact objects, because Azure Active Directory Connect will not properly synchronize contacts into Azure AD for use with Skype.

Regardless of any multi-forest configuration, the forest hosting 비즈니스용 Skype 서버 can also provide functionality for any enabled users that exist in the same forest.

To get proper identity synchronization, the following attributes need to be synchronized:


User Forests Resource Forests

chosen account link attribute

chosen account link attribute







The chosen account link attribute will be used as the Source Anchor. If you have a different and immutable attribute that you would prefer to use, you may do so, just be sure you edit the AD FS claims rule and select the attribute during the AAD Connect configuration.

Do not sync the UPN’s between the forests. We found during testing that we needed to use a unique UPN for each user forest, as you cannot use the same UPN across multiple forests. As a result, we were presented with two possibilities, to synchronize the UPN or to not synchronize.

  • If the unique UPN from each user forest was not synchronized to the associated disabled object in the resource forest, Single Sign-on would be broken for at least the initial sign-in attempt (assuming the user selected the option to save password). In the SfB client, we assume that the SIP/UPN values are the same. Since the SIP address in this scenario is, but the UPN of the enabled object in the user forest is in fact, the initial login attempt would fail and the user would be prompted to enter credentials. Upon entering their correct/actual UPN, the authentication request would be completed against the domain controllers in the user forest, and sign-in would be successful.

  • If the unique UPN from each user forest was synchronized to the associated disabled object in resource forest, AD FS authentication would fail. The matching rule would find the UPN on the object in the resource forest, which was disabled and could not be used for authentication.

You will next need to provision an Office 365 tenant to use with your deployment. For more information, please see Office 365 Provisioning Steps.

Once you have a tenant, you will next need to configure Active Directory Federation Services (AD FS) ineach of the user forests. This assumes you have a unique SIP and SMTP address and User Principal Name (UPN) for each forest. AD FS is optional and is used here to get single-sign on. DirSync with Password Sync is also supported and can also be used in place of AD FS.

Only deployments with matching SIP/SMTP and UPNs were tested. Not having matching SIP/SMTP/UPNs may result in reduced functionality, such as problems with Exchange integration and single-sign on.

Unless you use a unique SIP/SMTP/UPN for users from each forest, you can still run into Single Sign-on (SSO) problems – regardless of where AD FS is deployed:

  • One-way or two-way trusts between resource/user forests with AD FS farm deployed in each user forest, all users share common SIP/SMTP domain but unique UPN for each user forest.

  • Two-way trusts between resource/user forests with AD FS farm deployed only in resource forest, all users share common SIP/SMTP domain but unique UPN for each user forest.

By placing an AD FS farm in each user forest and using a unique SIP/SMTP/UPN for each forest, we resolve both issues. Only the accounts in that specific user forest would be searched and matched during authentication attempts. This will help provide a more seamless authentication process.

This will be a standard deployment of the Windows Server 2012 R2 AD FS and should be working before continuing. For instructions, see How To Install AD FS 2012 R2 For Office 365.

Once deployed, you then have to edit the claims rule to match the Source Anchor selected earlier. In the AD FS MMC, under Relying Party Trusts, right-click Microsoft Office 365 Identity Platform and then click Edit Claim Rules. Edit the first rule and change ObjectSID to employeeNumber.

AAD Connect will be used to merge the accounts between the different forests and between the forests and Office 365. You should deploy AAD Connect in the resource forest. It is required to be able to synchronize multiple forests and Office 365, which is not supported by Dirsync.

AAD Connect does not synchronize the accounts between on-premises forests. It uses AD connectors to read objects that are already synchronized across on-premises forests (by FIM or similar products). It then leverages filtering rules to create a single representation of both the matching enabled and disabled object in its metaverse, and then replicates that single, merged object into Office 365.

When finished and AAD Connect is merging, if you look at an object in the metaverse, you should see something similar to this:

The green highlighted attributes were merged from Office 365, the yellow are from the user forest and the blue are from the resource forest.

This is a test user, and you can see that AAD Connect has identified the sourceAnchor and the cloudSourceAnchor from the user and the resource forest objects and from Office 365, in our case 1101 which is the employeeNumber selected earlier. It then was able to merge this object into what you see above.

For more information, see Integrating your on-premises identities with Azure Active Directory.

AAD Connect should be installed using mostly the defaults. Except for the following steps:

  1. Single sign-in – with AD FS already deployed and working, select Do not configure

  2. Connect your directories – add all of the domains

  3. Identify users in on-premises directories: Select User identities exist across multiple directories and select ObjectSID and msExchangeMasterAccountSID attributes

  4. Identify users in Azure AD: Source Anchor – Select the attribute you've chosen after reading Selecting a good sourceAnchor attribute, User Principal Name – userPrincipalName

  5. Optional features – select whether you have Exchange hybrid deployed or not.

    If you have only Exchange Online, there could be an issue with OAuth failures during autodiscover because of CNAME redirection. To correct this, you will need to set the Exchange Autodiscover URL by running the following cmdlet from the 비즈니스용 Skype 서버 관리 쉘:

    Set-CsOAuthConfiguration –ExchangeAutoDiscoverURL

  6. AD FS Farm: Select Use an existing Windows Server 2012 R2 AD FS farm and enter the name of the AD FS server.

  7. Finish the wizard and perform the necessary validations.

Follow the best practices for configuring 비즈니스용 Skype hybrid. For more planning information, see Plan your hybrid deployment for Skype for Business Server 2015, and for configuration information see Configure hybrid with Skype for Business Online.

If necessary, follow the best practices for configuring Exchange hybrid. For more information, see Exchange Server Hybrid Deployments.