Skip to content

Get-DbaDbOrphanUser - Skip SQL login orphan check for contained databases#10270

Open
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-9866-20260320-1836
Open

Get-DbaDbOrphanUser - Skip SQL login orphan check for contained databases#10270
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-9866-20260320-1836

Conversation

@andreasjordan
Copy link
Collaborator

Users in contained databases (Partial or Full containment) authenticate directly to the database without server-level logins, so they should not be flagged as orphaned. Windows users are still checked regardless of containment type.

Fixes #9866

Generated with Claude Code

…ases

Users in contained databases (Partial or Full containment) authenticate directly
to the database without server-level logins, so they should not be flagged as
orphaned. Windows users are still checked regardless of containment type.

Fixes #9866

(do Get-DbaDbOrphanUser)

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.

Get-DbaDbOrphanUser and Contained Databases

1 participant