Skip to main content

Errors can show up when you want to export results from Content Search in Microsoft 365 compliance center. An example is when you want to export a mailbox to PST. It shows an error because you’re not assigned the Export role or the parameter scenario is not a valid URL option for the cmdlet New-ComplianceSearchAction. Let’s look at how to fix export search results errors in Microsoft 365 compliance center.

Introduction

When you go through the article Export Office 365 mailbox to PST, and you are at the step to Export results, you can get the errors:

  • You can’t export search results because you’re not assigned the Export role
  • The parameter Scenario is not a valid URL option for the cmdlet New-ComplianceSearchAction
Fix Export results errors in Content Search export

You can’t export search results because you’re not assigned the Export role

Error: You can’t export search results because you’re not assigned the Export role. If you’re a member of the Organization Management role group, you can go to the Permissions page and add yourself as a member of the eDiscovery Manager role group. Otherwise, contact your admin.

Fix Export results errors in Content Search error1

The parameter Scenario is not a valid URL option for the cmdlet New-ComplianceSearchAction

Error: The parameter Scenario is not a valid URL option for the cmdlet New-ComplianceSearchAction.

Fix Export results errors in Content Search error2

The solution for you can’t export search results because you’re not assigned the Export role, and the parameter Scenario is not a valid URL option for the cmdlet New-ComplianceSearchAction is to assign the user eDiscovery Administrator permissions.

Fix Export results errors in Content Search eDiscovery Manager
  • Search for ediscovery
  • Click in the results on eDiscovery Manager
eDiscovery search
  • Add the Export role to Assigned roles
  • Add the administrator account to eDiscovery Administrator
  • Click Close

Note: It can take up to 24 hours before the change applies. But, most of the time it will work within 1 hour.

Fix Export results errors in Content Search error eDiscovery Manager role

You can now successfully export results in Content Search.

Leave a Reply