For availability group '%1!s!', the value of the name-to-ID map entry is invalid. The binary value should contain a Windows ...

For availability group '%1!s!', the value of the name-to-ID map entry is invalid.  The binary value should contain a Windows Server Failover Clustering (WSFC) resource ID, a WSFC group ID, and their corresponding lengths in characters.  The availability group name may be incorrect, or the availability group configuration data may be corrupt.  If this error persists, you may need to drop and recreate the availability group.