Using MS Teams with on-premises Exchange

Salaam, Namaste, Ola and Hello!

I have been working with a lot of customers in recent months who have a large on premises footprint but want to start the journey into using cloud services. In my experience, the first step tends to be migrating email services to Exchange online which gives the business the start of a new Hybrid Infrastructure.

Once users start adopting Exchange online features, one of the services that soon follow is Microsoft Teams and today I am going to detail a recent experience I had with a customer who has a massive Virtual Environment which includes a multi server Exchange on premises Org. They were looking to start their Cloud/Hybrid journey, however rather than Exchange Online, they wanted to look at integrating Microsoft Teams

Microsoft Teams is a cloud native app so the full feature set is supported when you have an Exchange Online mailbox. The scenario I had was an existing Exchange 2013 on premises org on the latest CU with no Microsoft 365 tenant and a customer wanting to look at adopting Teams for meeting rooms and collaboration.

Understand pre-requisites. We know what the end game is: Utilise Microsoft Teams and integrate this in a Hybrid environment. Knowing this, the next step is to document the pre-requisites which will allow us to get to that end goal, as this then helps understand our step by step process. The following are pre-requisites for integrating and using Microsoft Teams functionality in a hybrid environment:

  • Exchange 2016 Exchange Server (with CU 15 as a minimum)
  • Hybrid Exchange configured
  • Microsoft 365 tenant with relevant licenses
  • Hybrid Identity (identity object in Active Directory on premises and Azure AD)

As I mentioned earlier, the existing Exchange Org was 2013 so we needed to create a new Exchange 2016 Exchange Server into the existing Org and ensure it had CU 15 at least. At this stage the plan was to only migrate the internal IT Team to the new server to allow testing before rolling out Teams to the wider user groups. For full instructions and understanding on how to install Exchange 2016 I would recommend the following article: https://practical365.com/exchange-server/installing-exchange-server-2016/

Once we had the Exchange 2016 server integrated into the existing Exchange Org we needed to create and configure the Microsoft 365 tenant. Working for a MSP came in handy as we were able to provision this via the CSP platform and get tenant up and working fairly quickly. For full instructions and understanding on how to configure a Microsoft 365 tenant I would recommend the following article: https://docs.microsoft.com/en-us/microsoft-365/education/deploy/create-your-office-365-tenant . It does not cover the CSP element but does explain how to configure the.

We now have a working Microsoft 365 tenant and an on premises Exchange Org with a 2016 CU 15 server. We now needed to create the Hybrid configuration which in this case is both Identity and Exchange Hybrid.

To create the identity Hybrid we installed and configured Azure AD connect on one of the existing on premises domain controllers. I would recommend the following article: https://docs.microsoft.com/en-us/office365/enterprise/set-up-directory-synchronization . In this scenario we wanted ‘Password Hash Synchronisation and to enable Exchange Hybrid option in the utility.

Once the relevant identities were synchronising between Active Directory on premises and Azure AD we could install and configure the Hybrid Exchange wizard. This needed to be installed on the Exchange 2016 server and also required some public DNS record creations. I would recommend the following article: https://docs.microsoft.com/en-us/exchange/hybrid-deployment/deploy-hybrid. One of the important requirements of using Teams in a Hybrid environment is ensuring OAuth authentication is configured and working, and with Exchange 2016 the Hybrid Exchange wizard automatically configures this.

Once the above configuration was completed and in place we were able to deploy Microsoft Teams to a device and login with Office 365 credentials (synchronised with on premises Active Directory). This then allowed the end user to use the Teams functionality like Calendar, meeting room licenses and other collaboration available in the app. The one caveat to this is that the users mailbox needed to be on the Exchange 2016 database to make use of Microsoft Teams fully.

I hope you have enjoyed this short blog. The main purpose of it is to just share a recent experience I have had in the hope if you come across a similar scenario that it might help you! Please feel free to leave a comment, but until next time IamITGeek over and out!!

Categories UncategorizedTags , , , , ,

12 thoughts on “Using MS Teams with on-premises Exchange

  1. Hi, in your experience, is it possible to integrate Teams meeting with on-premise OWA? We could not find a clear answer to this point.

    Liked by 1 person

    1. Unfortunately I have no experience of this. What I did was all through the Outlook and Teams Apps. Are you trying to create Teams meetings the same way you would via Outlook app but in OWA?

      Like

      1. We were expecting to see the option enabled in OWA as it is in the Outlook web app. Nothing happened, and we could not get a clear answer about this.

        Like

    2. Check out this link: https://docs.microsoft.com/en-us/microsoftteams/teams-add-in-for-outlook#teams-meeting-add-in-in-outlook-web-app as it has some information that might be useful on Teams integration with Outlook Wep App

      Like

  2. I am enabling this option because I have no “Schedule meeting” button in teams, but my question is, do I need to have an office 365 license for each user that already I have under my exchange server?

    Like

    1. Hi, I believe the meeting room mailbox account will need to have the meeting room licenses but your Exchange on-premises users do not need to have any type of M365 license. Just an identity in Azure and ensure the OAuth is configured correctly. Some users will need delegate permissions on the room mailbox to manage it as well. Does that help answer your question ?

      Like

  3. Does presence work with the Exchange Mailbox? From the Teams client when I click on a user that has a premise mailbox that has a Webex Meeting scheduled what will Teams Show?

    Like

    1. My understanding is that there is not any support for showing presence in Teams when the mailbox is hosted on-premises. When I did this implementation it definitely didn’t work and it was only available with Exchange Online mailboxes

      Like

  4. In the blog you have sentence that end with “the”. (It does not cover the CSP element but does explain how to configure the.) The _______?

    Like

    1. Apologies will re-review and correct. Will reply again once it is correct thanks for pointing it out 🙂

      Like

  5. Will the calendar sharing work from Teams to Exchange onpremise through hybrid (classic full) if the UPN doesn’t match the primary SMTP address?. Is there a way to mitigate it without changing the primary SMTP address to match UPN.

    Like

Leave a comment