SOLVED

disabling calendar and address book from mailboxes

%3CLINGO-SUB%20id%3D%22lingo-sub-2223501%22%20slang%3D%22en-US%22%3Edisabling%20calendar%20and%20address%20book%20from%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2223501%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%3C%2FP%3E%3CP%3EIn%20our%20company%20we%20have%20multiple%20mailboxes%20that%20we%20use%20to%20communicate%20with%20our%20customers.%20These%20mailboxes%20are%20user%20mailboxes%2C%20%3CU%3Enot%3C%2FU%3E%20shared%20mailboxes.%20As%20example%20we%20have%3A%3C%2FP%3E%3CUL%3E%3CLI%3Esupport%40%3C%2FLI%3E%3CLI%3Eservice%40%3C%2FLI%3E%3CLI%3Eoffice%40%3C%2FLI%3E%3C%2FUL%3E%3CP%3ELogically%2C%20these%20mailboxes%20have%20their%20own%20calendar%20and%20address%20books.%20The%20problem%20now%20is%20that%20no%20one%20needs%20these%20calendars%20and%20address%20books%2C%20and%20they%20mess%20up%20the%20user's%20outlook%20desktop%20app.%20Is%20there%20any%20way%20to%20disable%20or%20hide%20the%20calendars%20and%20address%20books%20of%20these%20mailboxes%3F%3C%2FP%3E%3CP%3EI%20already%20tried%20it%20with%20a%20new%20mailboxpolicy%20via%20exchange%20shell.%20With%20the%20parameter%20%22%3CSPAN%3E-CalendarEnabled%20%24false%22%20but%20they%20persist.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThanks%20for%20every%20help%20or%20idea.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2223501%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2224892%22%20slang%3D%22en-US%22%3ERe%3A%20disabling%20calendar%20and%20address%20book%20from%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2224892%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F661699%22%20target%3D%22_blank%22%3E%40preuley30%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20try%20the%20below%20commands%20which%20will%20help%20you%20to%20resolve%20your%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20command%20will%20hide%20your%20mailbox%20from%20the%20address%20book%3CBR%20%2F%3ESet-Mailbox%20-Identity%20%22support%40%22%20-HiddenFromAddressListsEnabled%20%24true%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet%20the%20list%20of%20users%20who%20are%20having%20permission%20on%20the%20calendar%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EGet-MailboxFolderPermission%20-Identity%20support%40%3A%5CCalendar%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet%20Default%20User%20Access%20Rights%20to%20NONE%26nbsp%3B%3C%2FP%3E%3CP%3ESet-MailboxFolderPermission%20-Identity%20support%40%3A%5CCalendar%20-User%20Default%20-AccessRights%20%7BNone%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20you%20want%20to%20revoke%20the%20calendar%20permission%20from%20a%20specific%20user%20then%20run%20the%20below%20command.%3C%2FP%3E%3CP%3ESet-MailboxFolderPermission%20-Identity%20support%40%3A%5CCalendar%20-User%20username%20-AccessRights%20%7BNone%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20your%20mailbox%20is%20not%20delegated%20to%20anyone%20then%20you%20can%20disable%20mailbox%20permission%20as%20well%3C%2FP%3E%3CP%3ERemove-MailboxPermission%20-Identity%20%22support%40%22%20-AccessRights%20FullAccess%20-confirm%3A%24False%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20is%20informative.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EMD%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2225082%22%20slang%3D%22en-US%22%3ERe%3A%20disabling%20calendar%20and%20address%20book%20from%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2225082%22%20slang%3D%22en-US%22%3EYou%20cannot%20disable%20such%20functionality%20in%20Outlook%2C%20the%20mailbox%20policy%20parameter%20applies%20only%20to%20OWA.%20You%20can%20however%20remove%20the%20shared%20mailbox%20from%20Outlook%20(or%20remove%20the%20automapping%20if%20you%20are%20adding%20them%20this%20way)%20and%20add%20just%20the%20Inbox%20folder.%20Or%20remove%20Full%20access%20permissions%20altogether%20and%20replace%20them%20with%20folder-specific%20permissions%20for%20whichever%20other%20folders%20you%20need.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2226495%22%20slang%3D%22en-US%22%3ERe%3A%20disabling%20calendar%20and%20address%20book%20from%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2226495%22%20slang%3D%22en-US%22%3EHiding%20the%20mailbox%20in%20the%20global%20address%20book%20won't%20help%20-%20the%20Contacts%20folder%20are%20in%20the%20profile%20where%20the%20mailbox%20is%20added.%20%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20use%20a%20macro%20to%20hide%20the%20folder%20in%20Outlook%20desktop%20-%20but%20it%20only%20applies%20to%20that%20profile%20and%20Exchange%20will%20eventually%20unhide%20it.%20When%20they%20come%20back%2C%20select%20the%20folder%20and%20run%20the%20macro%20again.%20%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.slipstick.com%2Foutlook%2Fdelete-outlooks-default-folders%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.slipstick.com%2Foutlook%2Fdelete-outlooks-default-folders%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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.

3 Replies
best response confirmed by preuley30 (Occasional Contributor)
Solution

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

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.
Hiding the mailbox in the global address book won't help - the Contacts folder are in the profile where the mailbox is added.

You can use a macro to hide the folder in Outlook desktop - but it only applies to that profile and Exchange will eventually unhide it. When they come back, select the folder and run the macro again.
https://www.slipstick.com/outlook/delete-outlooks-default-folders/