I'm looking to monitor an attribute of our Exchange Database Availability Group called 'PrimaryActiveManager'
I can't seem to find this attribute in the existing AppInsight for Exchange template.
This attribute is difficult to validate True or False since there is no order of preference like there is to ensure a database is mounted on server preference #1.
Instead I think I would have to compare the value to ensure it's set to the correct server.
How can I add a component to query "get-DatabaseAvailabilityGroup -status | select PrimaryActiveManager" and compare that value to one I enter?