When setting up Microsoft Teams Devices, you need some user accounts so the devices can be scheduled via Exchange/Outlook and then also sign into Skype for Business and Microsoft Teams. In the real world, you need to have Resource Mailbox accounts but now with new features say with Teams, you need to have licenses assigned. Microsoft has created a nice new license SKU, called the Meeting Room License. Some details on licensing can be found here.
The good news is that you can try this before you buy, just need to head over to your Office 365 Admin Center and navigate to Billing > Product & services. You can use the search box on the right to look for meeting and you’ll see the license in your local currency.
If you are
If you are pure Office 365, then this blog post might help you out in creating the accounts. I did a hybrid account create guide here in the past. It was Exchange Online, with Azure AD Sync and SfB On-premises. Microsoft has an official guide here on setting up accounts here however, I like to be different 🙂
This is post is about standard authentication and not MFA authentication. If you have have MFA I will do another brief post on this.
As Office 365 has different modules for Exchange, Skype and Active Directory, you need to install some modules and then connect to the various modules. Below is a script that can do it all in one hit and using PowerShell ISE, you can step through each line by pressing F8. You can just copy this code and paste it into PowerShell ISE (and run it as an Administrator).
####Pre Reqs to install Install-Module -Name MSOnline Set-PSRepository -Name PSGallery -InstallationPolicy Trusted Install-Module -Name AzureAD ### Download Skype Online PowerShell https://www.microsoft.com/en-us/download/details.aspx?id=39366 ### Install Exchange Online Module ### change your domain below https://outlook.office365.com/ecp/?rfr=Admin_o365&exsvurl=1&mkt=en-US&Realm=crestronemea.onmicrosoft.com ### Connecting to Microsoft Online Services Set-ExecutionPolicy RemoteSigned $orgName="mydomain.onmicrosoft.com" $credential = Get-Credential Connect-MsolService -Credential $credential Import-Module SkypeOnlineConnector $sfboSession = New-CsOnlineSession -Credential $credential Import-PSSession $sfboSession $credential = Get-Credential $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $credential -Authentication "Basic" -AllowRedirection Import-PSSession $exchangeSession -DisableNameChecking ### View your licenses avaialble Get-MsolAccountSku ### Meeting Room Variables $newRoom="[email protected]" $name="Flex Teams Room 01" $pwd="myS3cureP4ssw0rd" $license="mydomainname:MEETING_ROOM" $location="GB" ### Creating a new Account New-Mailbox -MicrosoftOnlineServicesID $newRoom -Name $name -Room -RoomMailboxPassword (ConvertTo-SecureString -String $pwd -AsPlainText -Force) -EnableRoomMailboxAccount $true ### Wait one minute before configuring the new account Set-MsolUser -UserPrincipalName $newRoom -PasswordNeverExpires $true -UsageLocation $location ### Assigning a license to the room account Set-MsolUserLicense -UserPrincipalName $newRoom -AddLicenses $license ### Setting a MailTip for the Room Set-Mailbox -Identity $newRoom -MailTip "This room is video enabled to support Teams and Skype Meetings" ### Configs the account to process requests Set-CalendarProcessing -Identity $newRoom -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -RemovePrivateProperty $false -DeleteComments $false -DeleteSubject $false -AddAdditionalResponse $true -AdditionalResponse "Your meeting is now scheduled and if it was enabled as a Teams or Skype Meeting will provide a seamless click-to-join experience from the conference room." ### Enabling the account for SfB Online - Find the pool first then use the name in -RegistratPool Get-CsOnlineUser |ft RegistrarPool ### Wait a few minutes before running this next command Enable-CsMeetingRoom -Identity $newRoom -SipAddressType "EmailAddress" -RegistrarPool "sippoolCWLGB101.infra.lync.com" ### Enable the account for Enterprise Voice Set-CsMeetingRoom -Identity $newRoom -EnterpriseVoiceEnabled $true ### Apply a calling plan to the user Set-MsolUserLicense -UserPrincipalName $newRoom –AddLicenses "mydomainname:MCOPSTN1" #### Option Configuration ### Getting Room Mailboxes ### Get-Mailbox -RecipientTypeDetails RoomMailbox ### Finding and setting allowed external meeting invites from outside the domain Get-Mailbox "Flex Teams Room 01" | Get-CalendarProcessing | Select *external* Get-Mailbox "Flex Teams Room 01" | Set-CalendarProcessing -ProcessExternalMeetingMessages $true
Once you have created the account, it can take up to 24 hours to replicate and become good. That’s my advise. Sometimes it will sign in and be good, other times not, so best to have it prepared in advance. The other consideration of why the device may not sign in, is of course networks and firewalls. Microsoft has detailed what ports and addresses they use here for Teams Devices.
MVP Randy Chapman has a similar post here that was recently published too.
Does your organisation use Intune for example? Will it need to be enrolled etc? Or if it’s a conference phone, you can manage that from the Teams Admin Center. Full details here on the Microsoft site.
That’s it for now on setting up the device account for your Microsoft Teams Room.