Deploy Microsoft Teams Rooms with Exchange Online

Read this topic for information on how to deploy Microsoft Teams Rooms with Exchange Online and Skype for Business Server on-premises.

If your organization has a mix of services, with some hosted on premises and some hosted online, then your configuration will depend on where each service is hosted. This topic covers hybrid deployments for Microsoft Teams Rooms with Exchange hosted online. Because there are so many different variations in this type of deployment, it's not possible to provide detailed instructions for all of them. The following process will work for many configurations. If the process isn't right for your setup, we recommend that you use Windows PowerShell to achieve the same end result as documented here, and for other deployment options.

The easiest way to set up user accounts is to configure them using remote Windows PowerShell. Microsoft provides SkypeRoomProvisioningScript.ps1, a script that will help create new user accounts, or validate existing resource accounts you have in order to help you turn them into compatible Microsoft Teams Rooms user accounts. If you prefer, you can follow the steps below to configure accounts your Microsoft Teams Rooms device will use.


Before you deploy Microsoft Teams Rooms with Exchange Online, be sure you have met the requirements. For more information, see Microsoft Teams Rooms requirements.

To deploy Microsoft Teams Rooms with Exchange Online, follow the steps below. Be sure you have the right permissions to run the associated cmdlets.


The Azure Active Directory Module for Windows PowerShell cmdlets in this section (for example, Set-MsolUser) have been tested in setting up accounts for Microsoft Teams Rooms devices. It's possible that other cmdlets may work, however, they haven't been tested in this specific scenario.

If you deployed Active Directory Federation Services (AD FS), you may have to convert the user account to a managed user before you follow these steps, and then convert the user back to a federated user after you complete these steps.

Create an account and set Exchange properties

  1. Start a remote Windows PowerShell session on a PC and connect to Exchange Online as follows:

    Set-ExecutionPolicy Unrestricted
    $org = ''
    $cred = Get-Credential $admin@$org
    $sess = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $cred -Authentication Basic -AllowRedirection
    Import-PSSession $sess -DisableNameChecking
  2. After establishing a session, you'll either create a new mailbox and enable it as a RoomMailboxAccount, or change the settings for an existing room mailbox. This will allow the account to authenticate into Microsoft Teams Rooms.

    If you're changing an existing resource mailbox:

    Set-Mailbox -Identity 'PROJECT01' -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)

    If you're creating a new resource mailbox:

    New-Mailbox -MicrosoftOnlineServicesID '' -Alias PROJECT01 -Name "Project--01" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
  3. To improve the meeting experience, you'll need to set the Exchange properties on the user account as follows:

    Set-CalendarProcessing -Identity '' -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -AllowConflicts $false -DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
    Set-CalendarProcessing -Identity '' -AddAdditionalResponse $true -AdditionalResponse "This is a Skype Meeting room!"

Add an email address for your on-premises domain account

  1. In Active Directory Users and Computers AD tool, right-click on the container or Organizational Unit that your Microsoft Teams Rooms accounts will be created in, click New, and then click User.

  2. Type the display name (- Identity ) from the prior cmdlet (Set-Mailbox or New-Mailbox) into the Full name box, and the alias into the User logon name box. Click Next.

  3. Type the password for this account. You'll need to retype it for verification. Make sure the Password never expires checkbox is the only option selected.


    Selecting Password never expires is a requirement for Skype for Business Server on Microsoft Teams Rooms. Your domain rules may prohibit passwords that don't expire. If so, you'll need to create an exception for each Microsoft Teams Rooms user account.

  4. Click Finish to create the account.

  5. After you have created the account, run a directory synchronization. This can be accomplished by using Set-MsolDirSyncConfiguration in PowerShell. When that is complete, go to the users page and verify that the two accounts created in the previous steps have merged.

Assign a Microsoft 365 or Office 365 license

  1. First, connect to Azure AD to apply some account settings. You can run this cmdlet to connect. For details about Active Directory, see Azure ActiveDirectory (MSOnline) 1.0.


    Azure Active Directory PowerShell 2.0 is not supported.

    Connect-MsolService -Credential $cred
  1. The user account needs to have a valid Microsoft 365 or Office 365 license to ensure that Exchange and Skype for Business Server will work. If you have the license, you need to assign a usage location to your user account—this determines what license SKUs are available for your account. You'll make the assignment in a following step.

  2. Next, use Get-MsolAccountSku to retrieve a list of available SKUs for your Microsoft 365 or Office 365 organization.

  3. Once you list out the SKUs, you can add a license using the Set-MsolUserLicense cmdlet. In this case, $strLicense is the SKU code that you see (for example, contoso:STANDARDPACK).

    Set-MsolUser -UserPrincipalName '' -UsageLocation 'US'
    Set-MsolUserLicense -UserPrincipalName '' -AddLicenses $strLicense

Enable the user account with Skype for Business Server


If you're setting up Teams Rooms to only join Microsoft Teams meetings, you don't need to do the following steps. The following steps are only required if you want to enable support for Skype for Business.

  1. Create a remote Windows PowerShell session from a PC as follows:


Skype for Business Online Connector is currently part of the latest Teams PowerShell module.

If you're using the latest Teams PowerShell public release, you don't need to install the Skype for Business Online Connector.

``` Powershell
# When using Teams PowerShell Module
Import-Module MicrosoftTeams
$credential = Get-Credential
Connect-MicrosoftTeams -Credential $credential
  1. To enable your Microsoft Teams Rooms account for Skype for Business Server, run this command:

    Enable-CsMeetingRoom -Identity $rm -RegistrarPool '' -SipAddressType EmailAddress

    If you aren't sure what value to use for the RegistrarPool parameter in your environment, you can get the value from an existing Skype for Business Server user using this command

    Get-CsUser -Identity ''| fl *registrarpool*

Assign a Skype for Business Server license to your Microsoft Teams Rooms account


If you're setting up Teams Rooms to only join Microsoft Teams meetings, you don't need to do the following steps. The following steps are only required if you want to enable support for Skype for Business.

  1. Log in as a tenant administrator, open the Microsoft 365 admin center, and click on the Admin app.
  2. Click on Users and Groups and then click Add users, reset passwords, and more.
  3. Click the Microsoft Teams Rooms account, and then click the pen icon to edit the account information.
  4. Click Licenses.
  5. In Assign licenses, select Skype for Business (Plan 2) or Skype for Business (Plan 3), depending on your licensing and Enterprise Voice requirements. You'll have to use a Plan 3 license if you want to use Enterprise Voice on Microsoft Teams Rooms.
  6. Click Save.

For validation, you should be able to use any Skype for Business client to log in to this account.


If you're currently using E1, E3, E4, or E5 SKUs with Skype for Business Plan 2 with Audio Conferencing or with Phone System and a Calling Plan, these will continue to work. However, you should consider moving to a simpler licensing model as described in Teams Meeting Room Licensing Update, after current licenses expire.


If you're using Skype for Business Plan 2, you can only use the Microsoft Teams Rooms in Skype for Business Only mode, meaning all of your meetings will be Skype for Business meetings. In order to enable your meeting room for Microsoft Teams meetings, we recommend you purchase the Meeting Room license.

Configure accounts for Microsoft Teams Rooms

Plan for Microsoft Teams Rooms

Deploy Microsoft Teams Rooms

Configure a Microsoft Teams Rooms console

Manage Microsoft Teams Rooms