Disable POP3/IMAP in Exchange Online Office 365

I think most of the customer migrating from on-premise to cloud will have a question. How can I limit the POP3/IMAP access of the employees.

To do this in on-premise is as easy as stopping the IMAP4 service or stop the IMAP4 in Exchange Server Management Application.

However, they may wonder, I do not have the tool in Office 365. How can I be able to achieve.

To do this, you need PowerShell to help you. Continue reading