Get-DbaLogin causes DAC logins #8351
Unanswered
DobmanHeras
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I am using a ps script to sync logins between a primary and secondary in an AG. I noticed the SQL errorlog filling up with Error: 17810, "Could not connect because the maximum number of '1' dedicated administrator connections allready exists...."
I deconstructed the script and reproduced by running:
$AG = "SOME_INSTANCE"
(Get-DbaLogin -SqlInstance PRIMARY_NODE\$AG).name)
Not sure if this is as designed. I searched and found for example 'Get-DecryptedObject' is using DAC connection. But Get-DbaLogin?
Not sure if I should file a bug.
Beta Was this translation helpful? Give feedback.
All reactions