Policies with an active replication cannot be deleted unless the you abort the active replication. Deleting a replication policy also deletes all related schedules. If you want to bulk delete replication policies, ensure that the type of the policies are the same, as file replication policies and object replication policies must be deleted separately.
CAUTION:
Aborting an active replication job during policy deletion may leave the policy target in an inconsistent state.