Cannot remove the local availability replica from availability group '%1!s!' from this instance of SQL Server. The availability ...

Cannot remove the local availability replica from availability group '%1!s!' from this instance of SQL Server.  The availability group is currently being created.  Verify that the specified availability group name is correct.  Wait for the current operation to complete, and then retry the command if necessary.