When attempting to promote a standalone ARS instance to a Publisher, the following error is observed:
Failed to modify the object."CN=
This is occasionally observed after demoting an existing publisher and attempting to re-promote it back to a Publisher.
Run the stored procedure sp_removebreplication against the Active Roles databases. Please be sure to back up the databases before performing any tasks. Example query below: