Start-DbaMigration: Enhance handling of dedicated admin connections#10162
Merged
potatoqualitee merged 2 commits intodevelopmentfrom Feb 19, 2026
Merged
Start-DbaMigration: Enhance handling of dedicated admin connections#10162potatoqualitee merged 2 commits intodevelopmentfrom
potatoqualitee merged 2 commits intodevelopmentfrom
Conversation
Collaborator
Author
Collaborator
Author
|
I think we now open a DAC connection instead of a normal connection based on the parameters for Start-DbaMigration. Maybe adding "ADMIN:" to what is currently used fails. |
Collaborator
Author
|
Let's exclude "DatabaseMail" as well on github action, so that no dac is needed. |
Member
|
This looks pretty standard of a change but i need a non-morning brain to comprehend a little better before merging |
Collaborator
Author
|
No problem. Thanks for merging all the others - now I can work on the last round of fixes for the DAC. |
Member
|
Looks good! 🤩 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Type of Change
Invoke-ManualPester)When opening a connection we test if we need a DAC and we test if we already have a DAC. We reuse a DAC when possible. We remember if we opened a DAC to later be able to close it.
Get-DecryptedObjectneeds two things:That's why
Get-DecryptedObjectneeds$Credentialwhich it used all the time, but the parameter was missing. So every command that callsGet-DecryptedObjectneeds$Credentialas well. And every command that calls one of those commands as well.