Problem with exporting and importing service with WSSSAServiceCmdV2 command

Document ID : KB000106017
Last Modified Date : 11/07/2018
Show Technical Document Details
Services containing custom relationship and policy are exported with WSSSAServiceCmdV2 command, when importing the same service using the same command the custom policy is not imported and the custom relationship changes from "Is affected By" to "DependsOn"
Instead of using the WSSSAServiceCmdV2 command use WSSAmServiceCmd command to export and import the service. This command will import the service with its custom relationship and policy intact unlike the WSSSAServiceCmdV2 where the command desn't import the custom policy and also changes the custom relationship to "Depends On"