Hi,
I am thinking of using autoseeding for our AlwaysOn. According to BOL ( https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/automatic-seeding-secondary-replicas?view=sql-server-2017 ) , I need to grant availability group the 'Create Database' right. Is there any query that can check if the replica already has the right or now , instead of blankly run the grant permission ? I checked server role ( dbcreator ), but no joy. This makes sense as the AlwaysOn Group doesn't have a login. Can anyone please cast light on it ?
Many thanks !