Deploy Skype Room Systems v2 with Office 365
Read this topic for information on how to deploy Skype Room Systems v2 with Office 365.
This topic describes how to add a device account for Skype Room Systems v2 when you have an Office 365 online deployment.
Deploy Skype Room Systems v2 with Office 365
Before you deploy Skype Room Systems v2 with Office 365, be sure you have met the requirements. For more information, see Skype Room Systems v2 requirements.
To enable Skype for Business, you must have the following:
Skype for Business Online (Plan 2) or higher in your Office 365 plan. The plan needs to support conferencing capability.
If you need Enterprise Voice (PSTN telephony) using telephony service providers for Skype Room Systems v2 you need Skype for Business Online (Plan 3).
Your tenant users must have Exchange mailboxes.
Your Skype Room Systems v2 account does require a Skype for Business Online (Plan 2) or Skype for Business Online (Plan 3) license, but it does not require an Exchange Online license.
Add a device account
Start a remote Windows PowerShell session on a PC and connect to Exchange. Be sure you have the right permissions set to run the associated cmdlets. The following are some examples of cmdlets that can be used and modified in your environment.
Set-ExecutionPolicy Unrestricted $org='contoso.com' $cred=Get-Credential $admin@$org $sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection Import-PSSession $sess
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 to Skype Room Systems v2.
If you are changing an existing resource mailbox:
Set-Mailbox -Identity 'PROJECTRIGEL01' -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
If you're creating a new resource mailbox:
New-Mailbox -MicrosoftOnlineServicesID PROJECTRIGEL01@contoso.com -Alias PROJECTRIGEL01 -Name "Project-Rigel-01" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
Various Exchange properties must be set on the device account to improve the meeting experience. You can see which properties need to be set in the Exchange properties section.
Set-CalendarProcessing -Identity $acctUpn -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -AllowConflicts $false -DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false Set-CalendarProcessing -Identity $acctUpn -AddAdditionalResponse $true -AdditionalResponse "This is a Skype Meeting room!"
You will need to connect to Azure Active Directory to apply some account settings. To connect to Azure AD, run the following cmdlet:
Connect-MsolService -Credential $cred
If you do not want the password to expire, run the Set-MsolUser cmdlet with the PasswordNeverExpires option as follows:
Set-MsolUser -UserPrincipalName $acctUpn -PasswordNeverExpires $true
You can also set a phone number for the room as follows:
Set-MsolUser -UniversalPrincipalName <upn> -PhoneNumber <phone number>
The device account needs to have a valid Office 365 license, or Exchange and Skype for Business will not work. If you have the license, you need to assign a usage location to your device account—this determines what license SKUs are available for your account. You can use Get-MsolAccountSku to retrieve a list of available SKUs for your Office 365 tenant as follows:
Next, 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 $acctUpn -UsageLocation "US" Get-MsolAccountSku Set-MsolUserLicense -UserPrincipalName $acctUpn -AddLicenses $strLicense
Next, you need to enable the device account with Skype for Business. Be sure your environment meets the requirements defined in Skype Room Systems v2 requirements.
Start a remote Windows PowerShell session as follows (be sure to install Skype for Business Online PowerShell components):
Import-Module LyncOnlineConnector $cssess=New-CsOnlineSession -Credential $cred Import-PSSession $cssess -AllowClobber
Next, enable your Skype Room Systems v2 account for Skype for Business Server by running the following cmdlet:
Enable-CsMeetingRoom -Identity $rm -RegistrarPool "sippoolbl20a04.infra.lync.com" -SipAddressType EmailAddress
Obtain the RegistrarPool information from the new user account being setup, as shown in this example:
Get-CsOnlineUser -Identity $rm | Select -Expand RegistrarPool
New user accounts might not be created on the same registrar pool as existing user accounts in the tenant. The command above will prevent errors in account setup due to this situation.
After you've completed the preceding steps to enable your Skype Room Systems v2 account in Skype for Business Online, you need to assign a license to Skype Room Systems v2 device. Using the Office 365 administrative portal, assign either a Skype for Business Online (Plan 2) or a Skype for Business Online (Plan 3) license to the device.
Assign a license to your account
Login as a tenant administrator, open the Office 365 Administrative Portal, and click on the Admin app.
Click Users and Groups and then click Add users, reset passwords, and more.
Select the Skype Room Systems v2 account, and then click or tap the pen icon, which means edit.
Click on the Licenses option.
In the Assign licenses section, you need to select Skype for Business Online (Plan 2) or Skype for Business Online (Plan 3), depending on your licensing and what you've decided in terms of needing Enterprise Voice. You'll have to use a Plan 3 license if you want to use Cloud PBX on Skype Room Systems v2. Minimally you will need CloudPBX for voice connectivity. Then configure hybrid voice or PSTN calling based on the PSTN connectivity method.
Click Save to complete the task.
Sample: Room account setup in Exchange Online and Skype for Business Online
New-Mailbox -MicrosoftOnlineServicesID Rigel1@contoso.com -Alias rigel1 -Name "Rigel 1" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String "" -AsPlainText -Force) Set-CalendarProcessing -Identity rigel1 -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -AllowConflicts $false -DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false Set-CalendarProcessing -Identity rigel1 -AddAdditionalResponse $true -AdditionalResponse "This is a Rigel room!" Set-MsolUser -UserPrincipalName firstname.lastname@example.org -PasswordNeverExpires $true -UsageLocation "US" Set-MsolUserLicense -UserPrincipalName email@example.com -AddLicenses "sfblab:O365_BUSINESS_PREMIUM" Set-MsolUserLicense -UserPrincipalName firstname.lastname@example.org -AddLicenses "sfblab:MCOEV" Set-MsolUserLicense -UserPrincipalName email@example.com -AddLicenses "sfblab:MCOPSTN2" Enable-CsMeetingRoom -Identity firstname.lastname@example.org -RegistrarPool sippooldm21a05.infra.lync.com -SipAddressType EmailAddress
This adds CloudPBX and PSTNCallingDomesticAndInternational. Addtionally, you will need to use the Admin interface to assign a phone number.