{"id":4315,"date":"2022-08-24T07:12:41","date_gmt":"2022-08-24T14:12:41","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4315"},"modified":"2022-08-24T07:12:43","modified_gmt":"2022-08-24T14:12:43","slug":"how-to-disable-pop-and-imap-for-all-mailboxes-in-office-365","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4315","title":{"rendered":"How to Disable POP and IMAP for All Mailboxes in Office 365"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/gcits.com\/wp-content\/uploads\/DisableIMAPandPOPonAllCustomerTenants.png\" alt=\"Disable IMAP and POP on All Customer Office 365 Tenants\" class=\"wp-image-3484\"\/><\/figure><\/div>\n\n\n<p>First of all, why disable IMAP or POP? Two reasons:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>IMAP and POP are less secure mail protocols that are now around 30 years old.<\/li><li>In our experience, IMAP and POP is seldom used for legitimate purposes. In almost every breach we\u2019ve discovered, the attackers have used IMAP or POP protocols to download user mailboxes to another device.<\/li><\/ol>\n\n\n\n<p>If you\u2019re looking for instances of unauthorised IMAP or POP access in your mailboxes,&nbsp;<a href=\"https:\/\/gcits.com\/knowledge-base\/export-list-locations-office-365-users-logging\/\">I recommend you also run this script<\/a>. Typically hackers will log into user mailboxes from an unexpected location. This script runs each IP address used to login to your tenant against an IP locator API. It then exports a list of unique IP addresses, their location and the user agent of the device that was logging in. The IMAP entries will usually display in the list with a user agent of CBAInProd.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/gcits.com\/wp-content\/uploads\/HackerLoggingOnWithCBAInPRODUserAgent-1-1030x298.png\" alt=\"Hacker Logging On to Office 365 With CBAInPROD User Agent\" class=\"wp-image-3491\"\/><\/figure><\/div>\n\n\n<p>In the above record from the Office 365 Unified Audit Log, an unauthorized user is accessing an account from an IP located in China.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/gcits.com\/wp-content\/uploads\/HackerLoggingInFromUnexpectedLocation.png\" alt=\"Hacker Logging In From Unexpected Location\" class=\"wp-image-3485\"\/><\/figure><\/div>\n\n\n<p>You can confirm this by searching the Unified Audit Log for \u2018MailboxLogin\u2019 Operations, then filtering by that IP address.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/gcits.com\/wp-content\/uploads\/HackerUsingIMAPToDownloadOffice365Email-1030x532.png\" alt=\"Hacker Using IMAP To Download Office 365 Email\" class=\"wp-image-3487\"\/><\/figure><\/div>\n\n\n<p>In order to prevent attackers from downloading all of your user data in this way, you can disable IMAP and POP for all users via PowerShell.<\/p>\n\n\n\n<p>There are two parts to this \u2013 you\u2019ll want to disable it for all existing mailboxes as well as all future mailboxes.<\/p>\n\n\n\n<p>If you already have a connection to Exchange Online via PowerShell, you can copy and paste the following cmdlets, otherwise you can use the scripts further down.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disabling-imap-and-pop-for-all-future-mailboxes\">Disabling IMAP and POP for all future mailboxes<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>Get-CASMailboxPlan<\/code><code>-Filter<\/code><code>{ImapEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>-or<\/code><code>PopEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>} | <\/code><code>set-CASMailboxPlan<\/code><code>-ImapEnabled<\/code><code>$false<\/code><code>-PopEnabled<\/code><code>$false<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disabling-imap-and-pop-for-all-existing-mailboxes\">Disabling IMAP and POP for all existing mailboxes<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>Get-CASMailbox<\/code><code>-Filter<\/code><code>{ImapEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>-or<\/code><code>PopEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>} | <\/code><code>Select-Object<\/code><code>@{n = <\/code><code>\"Identity\"<\/code><code>; e = {<\/code><code>$_<\/code><code>.primarysmtpaddress}} | <\/code><code>Set-CASMailbox<\/code><code>-ImapEnabled<\/code><code>$false<\/code><code>-PopEnabled<\/code><code>$false<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The following scripts will take care of the whole operation for you. The first one will disable POP and IMAP for a single Office 365 tenant. The second script is for Microsoft Partners and will disable IMAP and POP for all mailboxes in all customer tenants. Note that these scripts do not work with MFA on the admin account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-run-these-scripts-to-disable-imap-and-pop-in-office-365-via-powershell\">How to run these scripts to disable IMAP and POP in Office 365 via PowerShell<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Double click on either of the scripts below to select it all<\/li><li>Copy and paste it into Visual Studio Code and save it as a .ps1 file<\/li><li>To allow these scripts to work with an MFA enabled account,&nbsp;<a href=\"https:\/\/gcits.com\/knowledge-base\/running-delegated-admin-powershell-scripts-with-mfa-enabled-accounts\/\">you may need to whitelist your current static IP for MFA<\/a>.<\/li><li>Run it by pressing F5<\/li><li>Enter the credentials of an Office 365 global admin, Exchange admin or delegated administrator<\/li><li>Wait for the script to complete. If you\u2019re running this across a number of tenants, you\u2019ll probably be waiting a while.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-disable-imap-and-pop-in-a-single-office-365-tenant-via-powershell\">How to disable IMAP and POP in a single Office 365 tenant via PowerShell<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345678910111213141516171819202122232425<\/td><td><code>$credential<\/code><code>= <\/code><code>Get-Credential<\/code><code>$Session<\/code><code>= <\/code><code>New-PSSession<\/code><code>-ConnectionUri<\/code><code><a href=\"https:\/\/outlook.office365.com\/powershell-liveid\/\">https:\/\/outlook.office365.com\/powershell-liveid\/<\/a> `<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>-ConfigurationName<\/code><code>Microsoft.Exchange<\/code><code>-Credential<\/code><code>$credential<\/code><code>`<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>-Authentication<\/code><code>Basic<\/code><code>-AllowRedirection<\/code><code>Import-PSSession<\/code><code>$Session<\/code><code>-CommandName<\/code><code>Get-CASMailbox<\/code><code>, <\/code><code>Set-CasMailbox<\/code><code>, <\/code><code>Get-Casmailboxplan<\/code><code>, <\/code><code>set-casmailboxplan<\/code><code>, <\/code><code>Get-OrganizationConfig<\/code><code>Write-Host<\/code><code>\"Attempting IMAP and POP operations on $((Get-OrganizationConfig).DisplayName)\"<\/code><code>-ForegroundColor<\/code><code>Yellow<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>Write-Host<\/code><code>\"Disabling IMAP and POP for future mailboxes\"<\/code><code>-ForegroundColor<\/code><code>DarkYellow<\/code><code>Get-CASMailboxPlan<\/code><code>-Filter<\/code><code>{ImapEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>-or<\/code><code>PopEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>} | <\/code><code>set-CASMailboxPlan<\/code><code>-ImapEnabled<\/code><code>$false<\/code><code>-PopEnabled<\/code><code>$false<\/code><code>$confirmPlans<\/code><code>= <\/code><code>Get-CASMailboxPlan<\/code><code>-Filter<\/code><code>{ImapEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>-or<\/code><code>PopEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>}<\/code><code>if<\/code><code>(!<\/code><code>$confirmPlans<\/code><code>) {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>Write-Host<\/code><code>\"IMAP and POP disabled for all future mailboxes\"<\/code><code>-ForegroundColor<\/code><code>Green<\/code><code>}<\/code><code>else<\/code><code>{<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>Write-Host<\/code><code>\"IMAP and POP not disabled for all existing mailboxes\"<\/code><code>-ForegroundColor<\/code><code>Red<\/code><code>}<\/code><code>Write-Host<\/code><code>\"Disabling IMAP and POP on all existing mailboxes\"<\/code><code>-ForegroundColor<\/code><code>DarkYellow<\/code><code>Get-CASMailbox<\/code><code>-Filter<\/code><code>{ImapEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>-or<\/code><code>PopEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>} | <\/code><code>Select-Object<\/code><code>@{n = <\/code><code>\"Identity\"<\/code><code>; e = {<\/code><code>$_<\/code><code>.primarysmtpaddress}} | <\/code><code>Set-CASMailbox<\/code><code>-ImapEnabled<\/code><code>$false<\/code><code>-PopEnabled<\/code><code>$false<\/code><code>$confirmMailboxes<\/code><code>= <\/code><code>Get-CASMailbox<\/code><code>-Filter<\/code><code>{ImapEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>-or<\/code><code>PopEnabled <\/code><code>-eq<\/code><code>\"true\"<\/code><code>}<\/code><code>if<\/code><code>(!<\/code><code>$confirmMailboxes<\/code><code>) {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>Write-Host<\/code><code>\"IMAP and POP disabled on all existing mailboxes`n\"<\/code><code>-ForegroundColor<\/code><code>Green<\/code><code>}<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>Remove-PSSession<\/code><code>$Session<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-disable-imap-and-pop-in-all-customer-office-365-tenants-via-powershell\">How to disable IMAP and POP in all customer Office 365 tenants via PowerShell<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617181920212223242526272829303132<\/td><td><code>$credential= Get-CredentialConnect-MsolService-Credential$credential$customers= Get-MsolPartnerContract-Allforeach($customerin$customers) {\u00a0\u00a0\u00a0\u00a0Write-Host\"Attempting IMAP and POP operations on $($customer.name)\"-ForegroundColorYellow\u00a0\u00a0\u00a0\u00a0$InitialDomain= Get-MsolDomain-TenantId$customer.TenantId | Where-Object{$_.IsInitial}\u00a0\u00a0\u00a0\u00a0$DelegatedOrgURL= \"<a href=\"https:\/\/outlook.office365.com\/powershell-liveid?DelegatedOrg=\">https:\/\/outlook.office365.com\/powershell-liveid?DelegatedOrg=<\/a>\"+ $InitialDomain.Name\u00a0\u00a0\u00a0\u00a0$EXODS= New-PSSession-ConnectionUri$DelegatedOrgURL-Credential$credential-AuthenticationBasic-ConfigurationNameMicrosoft.Exchange-AllowRedirection\u00a0\u00a0\u00a0\u00a0Import-PSSession$EXODS-CommandNameGet-CASMailbox, Set-CasMailbox, Get-Casmailboxplan, set-casmailboxplan\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Write-Host\"Disabling IMAP and POP for future mailboxes\"-ForegroundColorDarkYellow\u00a0\u00a0\u00a0\u00a0Get-CASMailboxPlan-Filter{ImapEnabled -eq\"true\"-orPopEnabled -eq\"true\"} | set-CASMailboxPlan-ImapEnabled$false-PopEnabled$false\u00a0\u00a0\u00a0\u00a0$confirmPlans= Get-CASMailboxPlan-Filter{ImapEnabled -eq\"true\"-orPopEnabled -eq\"true\"}\u00a0\u00a0\u00a0\u00a0if(!$confirmPlans) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Write-Host\"IMAP and POP disabled for all future mailboxes\"-ForegroundColorGreen\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0else{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Write-Host\"IMAP and POP not disabled for all existing mailboxes\"-ForegroundColorRed\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0Write-Host\"Disabling IMAP and POP on all existing mailboxes\"-ForegroundColorDarkYellow\u00a0\u00a0\u00a0\u00a0Get-CASMailbox-Filter{ImapEnabled -eq\"true\"-orPopEnabled -eq\"true\"} | Select-Object@{n = \"Identity\"; e = {$_.primarysmtpaddress}} | Set-CASMailbox-ImapEnabled$false-PopEnabled$false\u00a0\u00a0\u00a0\u00a0$confirmMailboxes= Get-CASMailbox-Filter{ImapEnabled -eq\"true\"-orPopEnabled -eq\"true\"}\u00a0\u00a0\u00a0\u00a0if(!$confirmMailboxes) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Write-Host\"IMAP and POP disabled on all existing mailboxes`n\"-ForegroundColorGreen\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Remove-PSSession$EXODS}<\/code><br><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>First of all, why disable IMAP or POP? Two reasons: IMAP and POP are less secure mail protocols that are now around 30 years old. In our experience, IMAP and POP is seldom used for legitimate purposes. In almost every breach we\u2019ve discovered, the attackers have used IMAP or POP protocols to download user mailboxes <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4315\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_total_topic_count_hidden":0,"_bbp_total_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1230,10,18],"tags":[1288],"class_list":["post-4315","post","type-post","status-publish","format-standard","hentry","category-exchange","category-microsoft","category-microsoft-office","tag-disable-pop-and-imap-for-all-mailboxes-in-office-365"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"First of all, why disable IMAP or POP? Two reasons: IMAP and POP are less secure mail protocols that are now around 30 years old.In our experience, IMAP and POP is seldom used for legitimate purposes. In almost every breach we\u2019ve discovered, the attackers have used IMAP or POP protocols to download user mailboxes to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Summa Lai\"\/>\n\t<meta name=\"keywords\" content=\"disable pop and imap for all mailboxes in office 365,exchange,microsoft family,microsoft office\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/SUMMALAI.COM\/?p=4315\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#article\",\"name\":\"How to Disable POP and IMAP for All Mailboxes in Office 365 | Summa Lai\",\"headline\":\"How to Disable POP and IMAP for All Mailboxes in Office 365\",\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/gcits.com\\\/wp-content\\\/uploads\\\/DisableIMAPandPOPonAllCustomerTenants.png\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315\\\/#articleImage\"},\"datePublished\":\"2022-08-24T07:12:41-07:00\",\"dateModified\":\"2022-08-24T07:12:43-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#webpage\"},\"articleSection\":\"Exchange, Microsoft Family, Microsoft Office, Disable POP and IMAP for All Mailboxes in Office 365\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"name\":\"Microsoft Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"position\":2,\"name\":\"Microsoft Family\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=18#listItem\",\"name\":\"Microsoft Office\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=18#listItem\",\"position\":3,\"name\":\"Microsoft Office\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=18\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#listItem\",\"name\":\"How to Disable POP and IMAP for All Mailboxes in Office 365\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"name\":\"Microsoft Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#listItem\",\"position\":4,\"name\":\"How to Disable POP and IMAP for All Mailboxes in Office 365\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=18#listItem\",\"name\":\"Microsoft Office\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\",\"name\":\"sladmin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#personImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"sladmin\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2\",\"name\":\"Summa Lai\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#authorImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"Summa Lai\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#webpage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315\",\"name\":\"How to Disable POP and IMAP for All Mailboxes in Office 365 | Summa Lai\",\"description\":\"First of all, why disable IMAP or POP? Two reasons: IMAP and POP are less secure mail protocols that are now around 30 years old.In our experience, IMAP and POP is seldom used for legitimate purposes. In almost every breach we\\u2019ve discovered, the attackers have used IMAP or POP protocols to download user mailboxes to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4315#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"datePublished\":\"2022-08-24T07:12:41-07:00\",\"dateModified\":\"2022-08-24T07:12:43-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/\",\"name\":\"Summa Lai\",\"description\":\"Never Stop Learning, Building a Little Wiki...\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Disable POP and IMAP for All Mailboxes in Office 365 | Summa Lai","description":"First of all, why disable IMAP or POP? Two reasons: IMAP and POP are less secure mail protocols that are now around 30 years old.In our experience, IMAP and POP is seldom used for legitimate purposes. In almost every breach we\u2019ve discovered, the attackers have used IMAP or POP protocols to download user mailboxes to","canonical_url":"https:\/\/SUMMALAI.COM\/?p=4315","robots":"max-image-preview:large","keywords":"disable pop and imap for all mailboxes in office 365,exchange,microsoft family,microsoft office","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/SUMMALAI.COM\/?p=4315#article","name":"How to Disable POP and IMAP for All Mailboxes in Office 365 | Summa Lai","headline":"How to Disable POP and IMAP for All Mailboxes in Office 365","author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/gcits.com\/wp-content\/uploads\/DisableIMAPandPOPonAllCustomerTenants.png","@id":"https:\/\/SUMMALAI.COM\/?p=4315\/#articleImage"},"datePublished":"2022-08-24T07:12:41-07:00","dateModified":"2022-08-24T07:12:43-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/SUMMALAI.COM\/?p=4315#webpage"},"isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/?p=4315#webpage"},"articleSection":"Exchange, Microsoft Family, Microsoft Office, Disable POP and IMAP for All Mailboxes in Office 365"},{"@type":"BreadcrumbList","@id":"https:\/\/SUMMALAI.COM\/?p=4315#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","position":1,"name":"Home","item":"https:\/\/SUMMALAI.COM","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","name":"Microsoft Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","position":2,"name":"Microsoft Family","item":"https:\/\/SUMMALAI.COM\/?cat=10","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=18#listItem","name":"Microsoft Office"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=18#listItem","position":3,"name":"Microsoft Office","item":"https:\/\/SUMMALAI.COM\/?cat=18","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=4315#listItem","name":"How to Disable POP and IMAP for All Mailboxes in Office 365"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","name":"Microsoft Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=4315#listItem","position":4,"name":"How to Disable POP and IMAP for All Mailboxes in Office 365","previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=18#listItem","name":"Microsoft Office"}}]},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/#person","name":"sladmin","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=4315#personImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"sladmin"}},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/?author=2#author","url":"https:\/\/SUMMALAI.COM\/?author=2","name":"Summa Lai","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=4315#authorImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"Summa Lai"}},{"@type":"WebPage","@id":"https:\/\/SUMMALAI.COM\/?p=4315#webpage","url":"https:\/\/SUMMALAI.COM\/?p=4315","name":"How to Disable POP and IMAP for All Mailboxes in Office 365 | Summa Lai","description":"First of all, why disable IMAP or POP? Two reasons: IMAP and POP are less secure mail protocols that are now around 30 years old.In our experience, IMAP and POP is seldom used for legitimate purposes. In almost every breach we\u2019ve discovered, the attackers have used IMAP or POP protocols to download user mailboxes to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/#website"},"breadcrumb":{"@id":"https:\/\/SUMMALAI.COM\/?p=4315#breadcrumblist"},"author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"creator":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"datePublished":"2022-08-24T07:12:41-07:00","dateModified":"2022-08-24T07:12:43-07:00"},{"@type":"WebSite","@id":"https:\/\/SUMMALAI.COM\/#website","url":"https:\/\/SUMMALAI.COM\/","name":"Summa Lai","description":"Never Stop Learning, Building a Little Wiki...","inLanguage":"en-US","publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"}}]}},"aioseo_meta_data":{"post_id":"4315","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65a0cefbdcf2e","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-08-24 14:10:00","updated":"2024-01-12 05:32:43","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=10\" title=\"Microsoft Family\">Microsoft Family<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=18\" title=\"Microsoft Office\">Microsoft Office<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Disable POP and IMAP for All Mailboxes in Office 365\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/SUMMALAI.COM"},{"label":"Microsoft Family","link":"https:\/\/SUMMALAI.COM\/?cat=10"},{"label":"Microsoft Office","link":"https:\/\/SUMMALAI.COM\/?cat=18"},{"label":"How to Disable POP and IMAP for All Mailboxes in Office 365","link":"https:\/\/SUMMALAI.COM\/?p=4315"}],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4315"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4315\/revisions"}],"predecessor-version":[{"id":4316,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4315\/revisions\/4316"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}