Cannot process the operation. The local replica of availability Group '%1!s!' is in a failed state. A previous operation ...

Cannot process the operation.  The local replica of availability Group '%1!s!' is in a failed state.  A previous operation to read or update persisted configuration data for the availability group has failed.  To recover from this failure, either restart the local Windows Server Failover Clustering (WSFC) service or restart the local instance of SQL Server.