Office365 – Enable or disable IMAP, POP, OWA, MAPI, or Exchange ActiveSync for a mailbox

Enable or disable IMAP, POP, OWA, MAPI, or Exchange ActiveSync for a mailbox in Exchange Server in office365

1. Connect to office365 PowerShell  –

https://www.itblog.co.il/how-to-connect-remote-powershell-to-the-office365s-cloud-based-organization/

2. To see the current state for the mailbox – type : Get-CASMailbox -Identity “Mailbox identity”

(Where mailbox identity is the mailbox name)

clip_image002

3. To Disable one of the services type:

Set-CASMailbox -Identity idit -OWAEnabled $False

clip_image004

To enable on of the services type

Set-CASMailbox -Identity idit -OWAEnabled $True

image

To enable\disable service for all mailboxes type:

Get-CASMailbox |Set-CASMailbox -OWAEnabled $False

image

Check:

image

About Idit Bnaya

Sr. Cloud Solution Architect at Microsoft, I’m passionate about helping customers succeed by building secure, scalable, and innovative cloud solutions – with a strong focus on AI, DevOps practices, and end-to-end security. With a proven track record in the IT and services industry, I serve as a trusted advisor, partnering closely with organizations to guide them through digital transformation and maximize the value of their cloud investments. My role combines technical leadership with project ownership – from designing modern architectures to leading cross-functional implementations that drive real business outcomes. I also manage and empower strategic partners, working hand-in-hand with them to ensure project success and deliver measurable business impact for customers.
This entry was posted in Office365, Office365 Proplus and tagged , , . Bookmark the permalink.

Leave a Reply