Forum Discussion

Grace Yin's avatar
Grace Yin
Iron Contributor
Jan 16, 2019
Solved

How to disable IMAP/POP3 globally but excluding a specific mailbox?

Hi,

 

We want to disable IMAP/POP3 to entire organization, but allow a couple mailboxes to have those features. How can we approach it?

 

Please help!

 

Thanks in advance! 

  • I called Microsoft today. There is the script to disable IMAP/POP for all mailboxes expect abc@abc.com.

     

    Get-CASMailbox -ResultSize Unlimited | where {$_.Name -ne "abc"} | Set-CASMailbox -PopEnabled $false -ImapEnabled $false

     

    Note: abc is the display name of mailbox abc@abc.com. 

15 Replies

Resources