When you attempt to export the Site Recovery Manager configuration by using a script without credentials, the export fails with an error.

Problem

In a Site Recovery Manager environment with only array-based replications, when you attempt to export the Site Recovery Manager configuration by using a script without credentials, the export fails. The Impex log contains the following error:
YYYY-MM-DD 04:35:57,061 [srm-reactive-thread-13] ERROR com.vmware.srm.client.impex.Main - Export SRM configuration ended.(vim.fault.NoPermission) {
faultCause = null,
faultMessage = null,
object = ManagedObjectReference: type = Folder, value = group-d1, serverGuid = ,privilegeId = StorageProfile.View }

Solution

Add policy-driven storage view to the remote Site Recovery Manager solution user role or export the Site Recovery Manager configuration by either using a properties file, or in interactive mode with credentials. See, and .