How to enable logins for Room mailboxes in Office 365

Office 365, Tools

In order to display a conference room’s calendar on a mobile device, there are usually two options: use an Office365 account with delegate rights to open a room’s mailbox or to enable the AD user account for that particular room mailbox.

The first solution is the simplest, however has the following limitations: requires a mobile app capable to differentiate between the Office365 account and the mailbox, and uses up one Exchange license. The second solution is even simpler, works with any mail/calendar mobile app that can connect to Office365 and does not use an Exchange license:

Start a remote Powershell session with Exchange Online, entering a tenant admin’s credentials:

$credential = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchanged -ConectionUri -Credential $credential -Authentication Basic -AllowRedirection
Import-PSSession $session
$passwd = ConvertTo-SecureString -String <room mb password> -AsPlainText -Force
Set-Mailbox -Identity “<room mb address>” -EnableRoomMailboxAccount $true -RoomMailboxPassword $passwd
Remove-PSSession $session


What do you think?

  • When I try to follow your guide i get the following error:

    You can not set a Password or the ResetPasswordOnNextLogon property for a federated acc
    ount. Please use your onpremise tools for these operations. (raised by: Set-Mailbox)

    Have you seen this before?

  • Your command has a typo in it … connectionuri, not conection