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. email@example.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
- 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
Connect-MsolService -Credential $cred
Run the command below to create the mailbox policy for the resource rooms.
$easPolicy = New-MobileDeviceMailboxPolicy -Name "ResourceRooms" -PasswordEnabled $false
- 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 = "firstname.lastname@example.org"
$pass = "password"
Get-Mailbox $display | Set-Mailbox -Type Regular
Set-CASMailbox $display -ActiveSyncMailboxPolicy "ResourceRooms"
Set-Mailbox $username -Type Room
Set-Mailbox $username -RoomMailboxPassword (ConvertTo-SecureString -String $pass -AsPlainText -Force) -EnableRoomMailboxAccount $true
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.