Creating Surface Hub and Skype Room System Accounts – Hybrid

Loading

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.

Enjoy

Set-ExecutionPolicy Unrestricted
$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
Import-PSSession $sess

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

Set-CalendarProcessing -Identity ‘uksrs@example.com’ -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
Set-CalendarProcessing -Identity ‘uksrs@example.com’ -AddAdditionalResponse $true -AdditionalResponse “This is a Skype Room System!”
Set-CalendarProcessing -Identity ‘uksrs@example.com’ -ProcessExternalMeetingMessages $true

Connect-MsolService -Credential $cred

Set-MsolUser -UserPrincipalName ‘uksr@example.com’ -UsageLocation ‘GB’
Get-MsolAccountSku

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 ‘uksrs@example.com’ -AddLicenses tenantname:O365_BUSINESS_ESSENTIALS

 

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