This issue typically occurs when the SQL Server user configured for monitoring does not have the required VIEW ANY DEFINITION permission.
To verify this, follow the steps below.
SELECT * FROM sys.availability_groups;
Scenario 1: The query returns one row for each availability group hosted by the local SQL Server instance.
Scenario 2: The query returns no rows, even though the SQL Server instance is part of an availability group.
Scenario 3: The following error is returned:
Invalid object name 'sys.availability_groups'
Both Scenario 2 and Scenario 3 usually indicate that the monitoring user does not have the required VIEW ANY DEFINITION permission.
Grant the VIEW ANY DEFINITION permission to the monitoring user and verify whether the Availability Groups information is displayed correctly.
For more information, refer to the Prerequisites for Applications Manager documentation.
Note: The monitoring user must have sufficient permissions to query AlwaysOn Availability Group metadata. Without the VIEW ANY DEFINITION permission, Applications Manager cannot retrieve and display Availability Groups information.