Delegate Exchange Content Search ability to specific users

mark terry 85 Reputation points
2025-01-02T21:05:47.5466667+00:00

Background

We have a group of users in our “Cyber IT Team” and would like to be able to delegate the ability for that team to carry out Content Searches in our Exchange Online mailboxes. The results of these searches can then subsequently be used by the Exchange team (which is a separate team) to purge related data from Exchange mailboxes.

Requirements

  1. Delegate the ability for our “Cyber IT Team” to carry out Content Searches of Exchange Online mailboxes.
  2. The “Cyber IT Team” should only be able to see Content Searches that they own.
  3. Results of these searches can subsequently be used by the Exchange Team to purge Exchange data related to those searches. Today the Exchange Team uses the New-ComplianceSearchAction cmdlet. For example, the cmdlet below would purge items which are part of the “Cyber-IT-Team-12-12-2024” Content Search:

 New-ComplianceSearchAction -SearchName "Cyber-IT-Team-12-12-2024" -Purge -PurgeType HardDelete 

Thanks!

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,334 questions
{count} votes

Accepted answer
  1. Chandra Boorla 6,460 Reputation points Microsoft Vendor
    2025-01-03T04:09:52.0033333+00:00

    Hi @mark terry

    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!

    Thank you for providing the detailed background on your requirements. I understand that you would like to delegate the ability to perform Content Searches in Exchange Online to your Cyber IT Team, while ensuring that the Exchange Team can act on the search results to purge the related data. It's great to see you are focusing on security while providing the necessary access.

    The approach of assigning the full 'eDiscovery Manager' role and relying on individual eDiscovery cases, as sometimes suggested, is not the most secure or efficient method. It grants excessive permissions and doesn't fully restrict visibility to only owned searches.

    A better approach is to use a custom role group with specific permissions. Here's how:

    Create a Custom Role Group - In the Microsoft Purview compliance portal ([invalid URL removed]), navigate to Permissions -> Roles -> Role groups and create a new role group (e.g., 'Cyber IT Searchers').

    Assign Specific Roles - Add the following roles to this custom role group, Compliance Search - This allows users to create, modify, and run Content Searches. (Optional but recommended) Preview - This allows users to preview search results.

    Crucially, do NOT add roles like 'Case Management' or 'Hold'. This ensures they only have the necessary permissions.

    Add Cyber IT Team Members - Add the members of the Cyber IT Team to this new role group.

    Exchange Team Purge Action - The Exchange team can then use the New-ComplianceSearchAction cmdlet as before:

    New-ComplianceSearchAction -SearchName "Cyber-IT-Team-12-12-2024" -Purge -PurgeType HardDelete
    

    This approach offers several advantages:

    Principle of Least Privilege - It grants only the necessary permissions, minimizing the potential impact of security breaches or accidental misuse.

    True Restricted Visibility - Users in this custom role group will only see and manage the Content Searches they create.

    Simplified Management - It avoids the overhead of managing numerous eDiscovery cases.

    By following these steps, you can effectively delegate Content Search capabilities to the Cyber IT Team while maintaining strong security and control over your Exchange environment. This ensures compliance and a proper separation of duties between the Cyber IT and Exchange teams."

    I hope this information helps. Please do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.