Skip to main content
CallTower Solutions Center

MS O365 Admin - Assign Password To Resource Mailbox

How to assign a password to an Office 365 resource mailbox 

This document will walk you through the steps of assigning a password to a new or existing Office 365 resource mailbox. Often times you will have a Skype for Business user account for a Conference Room (i.e. largeconference@domain.com) and you want to have the meeting information automatically appear on your conference room phone. To accomplish this, your resource or room mailbox will need to have the same password as the Skype for Business user account.

To perform these steps, you will need to be have a Global Administrator Account in your Office 365 Tenant

First Step

  • To assign a password to a resource mailbox, run Powershell-ISE as an Administrator locally and then use the following cmdlets to get connected to Exchange Online:
  • You will need the MsOnline and MsOnlineExtended PowerShell Modules installed

$cred = Get-credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $Session –AllowClobber
Import-Module MsOnline
Import-Module MSOnlineExt
Connect-MsolService -Credential $cred

 

Run the command below to create the mailbox policy for the resource rooms.

 $easPolicy = New-MobileDeviceMailboxPolicy -Name "ResourceRooms" -PasswordEnabled $false

Second Step

  • To set a password for your existing resource mailbox to match your Skype for Business user please enter the cmdlets below. Please note that items highlighted in Red need to be changed to match the account you're configuring.

$display = "Display Name"
$username = "username@domain.com"
$pass = "password"

Get-Mailbox $display | Set-Mailbox -Type Regular
Start-Sleep 10
Set-CASMailbox $display -ActiveSyncMailboxPolicy "ResourceRooms"
Start-Sleep 10
Set-Mailbox $username -Type Room
Start-Sleep 25
Set-Mailbox $username -RoomMailboxPassword (ConvertTo-SecureString -String $pass -AsPlainText -Force) -EnableRoomMailboxAccount $true

What's Next

At this point you've configured the resource mailbox with a password that matches your Skype for Business user account. You should now be able to sign into Skype for Business on a PC or phone and view scheduled meetings for that account.