{"id":3746,"date":"2018-11-12T09:13:49","date_gmt":"2018-11-12T09:13:49","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=3746"},"modified":"2018-11-12T09:13:49","modified_gmt":"2018-11-12T09:13:49","slug":"how-to-limit-a-user-in-security-and-compliance-center-content-search-to-a-single-mailbox","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/how-to-limit-a-user-in-security-and-compliance-center-content-search-to-a-single-mailbox","title":{"rendered":"How to Limit a User in Security and Compliance Center Content Search to a single Mailbox"},"content":{"rendered":"<p>Recently a user needed to Search another user&#8217;s 100GB Archive and Mailbox. Outlook search was taking far too long.<\/p><p>You can assign a user Permission to use the Content Search in\u00a0 Security and Compliance Center\u00a0 and limit access to a single Mailbox.<\/p><h2>Assign Roles :\u00a0<\/h2><p>In the Security and Compliance Center, Under Permissions,\u00a0 Create a new Role with the following Roles assigned and add the User who needs to access<\/p><p id=\"JOYAeHU\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"248\" class=\"alignnone size-full wp-image-3747  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/11\/img_5be9433e77c55.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/11\/img_5be9433e77c55.png 499w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/11\/img_5be9433e77c55-300x149.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/p><h2>Assign Filter<\/h2><p>This limits the users search scope to only a single Mailbox<\/p><p>Connect to 365 Security and Compliance Center :<\/p><p>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.compliance.protection.outlook.com\/powershell-liveid -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session -AllowClobber -DisableNameChecking<\/p><p>&nbsp;<\/p><p><strong>Add Filter<\/strong><\/p><p>New-ComplianceSecurityFilter -FilterName MailboxFilter -Users pa@domain.com -Filters &#8220;Mailbox_DisplayName -like &#8216;John Smith'&#8221; -Action All<\/p><p>Wait around 10 minutes for this to apply then try logging in<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently a user needed to Search another user&#8217;s 100GB Archive and Mailbox. Outlook search was taking far too long.You can assign a user Permission to use the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2720,2719,2722,2718,2721],"class_list":["post-3746","post","type-post","status-publish","format-standard","hentry","category-random","tag-limit-content-search","tag-new-compliancesecurityfilter","tag-restrict-search","tag-security-and-compliance-center","tag-single-mailbox"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3746"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3746\/revisions"}],"predecessor-version":[{"id":3748,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3746\/revisions\/3748"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}