There are some good documents on setting up the hub and SRS and also some PowerShell scripts too that were first released for the hub, but never saw the light of day for the SRS. One reference is here on the TechNet site and another here in the TechNet gallery (not updated since 2015).
However, we are slightly difference and run Skype for Business 2015 on-premise with Exchange Online using Azure DirSync etc. So I needed a mashup of the scripts to make it happen, so I thought I’d share with others in case you needed them too.
$cred=Get-Credential -Message “Please use your Office 365 admin credentials”
$sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ‘https://ps.outlook.com/powershell’ -Credential $cred -Authentication Basic -AllowRedirection
New-Mailbox -MicrosoftOnlineServicesID ‘[email protected]’ -Alias SRS01 -Name “UK Skype Room System” -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <enteryourpasswordhere> -AsPlainText -Force)
$easPolicy = New-MobileDeviceMailboxPolicy -Name “SurfaceHubs” -PasswordEnabled $false
Set-Mailbox ‘[email protected]’ -Type Regular
Set-CASMailbox ‘[email protected]’ -ActiveSyncMailboxPolicy $easPolicy.id
Set-Mailbox ‘[email protected]’ -Type Room
$credNewAccount = Get-Credential -Message “Please provide the device username and password”
Set-Mailbox ‘[email protected]’ -RoomMailboxPassword $credNewAccount.Password -EnableRoomMailboxAccount $true
Set-CalendarProcessing -Identity ‘[email protected]’ -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
Set-CalendarProcessing -Identity ‘[email protected]’ -AddAdditionalResponse $true -AdditionalResponse “This is a Skype Room System!”
Set-CalendarProcessing -Identity ‘[email protected]’ -ProcessExternalMeetingMessages $true
Connect-MsolService -Credential $cred
Set-MsolUser -UserPrincipalName ‘[email protected]’ -UsageLocation ‘GB’
This may not be required depending on how you want to license the account as it is only a Resource Mailbox so no license required.
# Set-MsolUserLicense -UserPrincipalName ‘[email protected]’ -AddLicenses tenantname:O365_BUSINESS_ESSENTIALS
# On the Skype FE/AD Server
# Create account on AD server and run DirSync
# Enable-CsMeetingRoom -Identity ‘[email protected]’ -RegistrarPool sfb-fep-.example.local -SipAddressType UserPrincipalName
#For the Skype Room account, the following licensing is required:
#A Skype for Business Online Plan 2 or Office 365 E1 or E3 license is required to enable Skype Meetings.
#To entitle the room with the Enterprise Voice capability so the room can be enabled with a phone number, a Skype for Business Online Plan 2 with the Cloud PBX Add-on or Office 365 E5 is required (1).
#The availability of PSTN Conferencing entitlement within any given meeting is determined by the license of the meeting organizer.
#An Exchange Online license is not required for the Skype Room account because the account should be configured as a resource mailbox account.
Also published on Medium.