On the replica secondary the under Availability Databases the database has a yellow yield icon on the database. When you right click the database it says "Joni to Availability Group". When I chose this it errors out with the below error.
Failed to join the database 'DATABASE' to the availability group 'grpMain' on the availability replica
The mirror database, "DATABASE", has insufficient transaction log data to preserve the log backup chain of the principal database. This may happen if a log backup from the principal database has not been taken or has not been restored on the
mirror database. (Microsoft SQL Server, Error: 1478)
Alan