Skip to content

Connect-DbaInstance - Add -AuthenticationType parameter for Entra ID support#10271

Open
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-9851-20260320-1839
Open

Connect-DbaInstance - Add -AuthenticationType parameter for Entra ID support#10271
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-9851-20260320-1839

Conversation

@andreasjordan
Copy link
Collaborator

Closes #9851

Adds a new -AuthenticationType parameter to Connect-DbaInstance that exposes the SMO AuthenticationMethod enum, enabling Entra ID (Azure AD) authentication including MFA via ActiveDirectoryInteractive, without requiring -AppendConnectionString workarounds.

Changes

  • Added -AuthenticationType parameter with ValidateSet for all supported Entra ID auth methods
  • Properly sets UseIntegratedSecurity = $false for interactive/integrated auth types
  • Added parameter documentation and examples
  • Updated parameter validation test

Generated with Claude Code

…support

Adds a new -AuthenticationType parameter that exposes the SMO AuthenticationMethod
enum, enabling Entra ID (Azure AD) authentication including MFA via
ActiveDirectoryInteractive, without requiring -AppendConnectionString workarounds.

(do Connect-DbaInstance)

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Entra ID Support to connecting to SQL Server Instances

1 participant