Forum Discussion

preuley30's avatar
preuley30
Iron Contributor
Mar 19, 2021
Solved

disabling calendar and address book from mailboxes

Hello everyone

In our company we have multiple mailboxes that we use to communicate with our customers. These mailboxes are user mailboxes, not shared mailboxes. As example we have:

  • support@
  • service@
  • office@

Logically, these mailboxes have their own calendar and address books. The problem now is that no one needs these calendars and address books, and they mess up the user's outlook desktop app. Is there any way to disable or hide the calendars and address books of these mailboxes?

I already tried it with a new mailboxpolicy via exchange shell. With the parameter "-CalendarEnabled $false" but they persist.

Thanks for every help or idea.

  • Hi preuley30 ,

     

    Please try the below commands which will help you to resolve your issues.

     

    This command will hide your mailbox from the address book
    Set-Mailbox -Identity "support@" -HiddenFromAddressListsEnabled $true

     

    Get the list of users who are having permission on the calendar

    Get-MailboxFolderPermission -Identity support@:\Calendar 

     

    Set Default User Access Rights to NONE 

    Set-MailboxFolderPermission -Identity support@:\Calendar -User Default -AccessRights {None}

     

    if you want to revoke the calendar permission from a specific user then run the below command.

    Set-MailboxFolderPermission -Identity support@:\Calendar -User username -AccessRights {None}

     

    If your mailbox is not delegated to anyone then you can disable mailbox permission as well

    Remove-MailboxPermission -Identity "support@" -AccessRights FullAccess -confirm:$False

     

    I hope this is informative.

     

    Thank you,

     

    Regards,

    MD

3 Replies

  • You cannot disable such functionality in Outlook, the mailbox policy parameter applies only to OWA. You can however remove the shared mailbox from Outlook (or remove the automapping if you are adding them this way) and add just the Inbox folder. Or remove Full access permissions altogether and replace them with folder-specific permissions for whichever other folders you need.
  • MDadarkar's avatar
    MDadarkar
    Brass Contributor

    Hi preuley30 ,

     

    Please try the below commands which will help you to resolve your issues.

     

    This command will hide your mailbox from the address book
    Set-Mailbox -Identity "support@" -HiddenFromAddressListsEnabled $true

     

    Get the list of users who are having permission on the calendar

    Get-MailboxFolderPermission -Identity support@:\Calendar 

     

    Set Default User Access Rights to NONE 

    Set-MailboxFolderPermission -Identity support@:\Calendar -User Default -AccessRights {None}

     

    if you want to revoke the calendar permission from a specific user then run the below command.

    Set-MailboxFolderPermission -Identity support@:\Calendar -User username -AccessRights {None}

     

    If your mailbox is not delegated to anyone then you can disable mailbox permission as well

    Remove-MailboxPermission -Identity "support@" -AccessRights FullAccess -confirm:$False

     

    I hope this is informative.

     

    Thank you,

     

    Regards,

    MD

Resources