The profile "0" is not a migration profile. The BPMConfigureProcessServer command needs run from a migration profile.