A previous RESTORE WITH CONTINUE_AFTER_ERROR operation or being removed while in the SUSPECT state from an availability group ...

A previous RESTORE WITH CONTINUE_AFTER_ERROR operation or being removed while in the SUSPECT state from an availability group left the '%1!s!' database in a potentially damaged state. The database cannot be joined while in this state. Restore the database, and retry the join operation.