Hi,
I had created a Always on availability group using async mode to for availability database on my dev environment called "SQL12_AAG" but when I deleted the group and tried recreating it. I got a message that the group name is already in use..
I created it with a different name "SQL12_AAG_GRP and it went through.. after investigating the related DMV I found that the old group name was not properly deleted from sys tables.
Please take a look at the output of the query run against sys.availability_group_cluster:
I tried doing the cleanup but as always the system catalogs are locked and even the DAC connection cannot be helpful.
Please provide some help in regards to the cleanup. I'll be setting up in production and if I need to delete and recreate and end up with same error that it will be very difficult.
Regards,
Riz