Troubleshoot AzCopy in eDiscovery (Premium)

Tip

eDiscovery (preview) is now available in the new Microsoft Purview portal. To learn more about using the new eDiscovery experience, see Learn about eDiscovery (preview).

When loading non-Microsoft 365 data or documents for error remediation in Microsoft Purview eDiscovery (Premium), the user interface supplies an Azure AzCopy command that contains parameters with the location of where the files that you want to upload are stored and the Azure storage location that the files will be uploaded to. To upload your documents, you copy this command and then run it in a Command Prompt on your local computer.

Usually the command that's provided works when you run it. However, there may be cases when the command that's displayed won't run successfully. Here's a few possible reasons.

Tip

If you're not an E5 customer, use the 90-day Microsoft Purview solutions trial to explore how additional Purview capabilities can help your organization manage data security and compliance needs. Start now at the Microsoft Purview compliance portal trials hub. Learn details about signing up and trial terms.

The supported version of AzCopy isn't installed on the local computer

You should use the latest version of AzCopy to load non-Microsoft 365 data in eDiscovery (Premium). To install the latest version, see Get started with AzCopy.

AzCopy isn't installed on the local computer or it's not installed in the default location

If AzCopy isn't installed or it's installed in a location other than the default install location (which is %ProgramFiles(x86)%), you may receive the following error when you run the AzCopy command:

The system cannot find the path specified.

If AzCopy isn't installed on the local computer, see Get started with AzCopy. Be sure to install it in the default location.

If AzCopy is installed, but it's installed in a location different than the default location, you can copy the command, paste it to a text file, and then change the path to the location where AzCopy is installed. For example, if Azcopy is located in %ProgramFiles%, then you can change the first part of the command from %ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy.exe to %ProgramFiles%\Microsoft SDKs\Azure\AzCopy. After you make this change, copy it from the text file, and then run it a Command Prompt.

Tip

If AzCopy is installed in a location other then the default install location, consider uninstalling it and then re-installing it in the default location. This will help prevent this issue in the future.