Creating Surface Hub and Skype Room System Accounts – Hybrid


Last Updated on November 30, 2021 by GrahamWalsh

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.


Set-ExecutionPolicy Unrestricted
$cred=Get-Credential -Message “Please use your Office 365 admin credentials”
$sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ‘’ -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $sess

New-Mailbox -MicrosoftOnlineServicesID ‘’ -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 ‘’ -Type Regular
Set-CASMailbox ‘’ -ActiveSyncMailboxPolicy $
Set-Mailbox ‘’ -Type Room
$credNewAccount = Get-Credential -Message “Please provide the device username and password”
Set-Mailbox ‘’ -RoomMailboxPassword $credNewAccount.Password -EnableRoomMailboxAccount $true

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 Room System!”
Set-CalendarProcessing -Identity ‘’ -ProcessExternalMeetingMessages $true

Connect-MsolService -Credential $cred

Set-MsolUser -UserPrincipalName ‘’ -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 ‘’ -AddLicenses tenantname:O365_BUSINESS_ESSENTIALS


# On the Skype FE/AD Server
# Create account on AD server and run DirSync
# Enable-CsMeetingRoom -Identity ‘’ -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.

All search results