Room permissions Office 365

Microsoft Hosted Exchange – How to grant a user full permissions on a room mailbox in Office 365:

Email address of user to be granted access:
Room mailbox email address:

You need to do that through Powershell.  Powershell is part of Windows 7.  From your Windows 7 machine, run Powershell as admin (right click on Powershell and choose Run as Admin).
In powershell command, type the following commands:
Set-ExecutionPolicy unrestricted
Choose Y to confirm
(You will be prompted for Office 365 admin user, and If you are an administrator in Office 365 then type your email adddress as user and your email password).

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $cred -Authentication Basic –AllowRedirection

Import-PSSession $session

Add-MailboxPermission -Identity -User -AccessRights FullAccess -InheritanceType All -AutoMapping:$false


My Notes on changing permissions on public folders

same as above steps expect last step is:

Get-PublicFolder -Identity “\CPM” -Recurse | Add-PublicFolderClientPermission -User “UserNameHere-WhichIsFirstpartOfEmailAddressBeforethe@” -AccessRights Owner


My Notes on changing permissions on public calendars:

add-MailboxFolderPermission -Identity\Calendar -User -AccessRights PublishingAuthor

Get-MailboxFolderPermission -Identity\calendar

Remove-MailboxFolderPermission -Identity user@mycompany:\calendar -user

My Notes on setting password to never expire for a user:

Find users PasswordNeverExpires status:

Get-MSOLUser -MaxResults 2000 | Select PasswordNeverExpires | export-csv c:\result.txt

Start Microsoft Online Services Module for Power Shell (download from web if not arelady installed). “Run As” Admin. Type the following:


Check the password policy for that user:
Get-MSOLUser -UserPrincipalName | Select PasswordNeverExpires
Substitute by the username that you want to change password policy for.

Change it to never expires:
Set-MsolUser -UserPrincipalName -PasswordNeverExpires $true
Substitute by the username that you want to change password policy for.

If you find this article helpful, please send me a note to so I can keep on adding more hands-on knowledgebase articles.

Find us on Bing,

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *