Skip to content

Copy-DbaAgentJob - Add AD group membership check for job owner login validation#10297

Open
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-8966-20260331-0631
Open

Copy-DbaAgentJob - Add AD group membership check for job owner login validation#10297
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-8966-20260331-0631

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

When a job owner has SQL Server access via AD group membership (not a direct login), add a secondary check using EnumWindowsUserInfo() before skipping the job. This prevents false positives where users with AD group access are incorrectly flagged as missing logins.

Closes #8966

Generated with Claude Code

…validation

When a job owner has SQL Server access via AD group membership (not a direct login),
add a secondary check using EnumWindowsUserInfo() before skipping the job. This prevents
false positives where users with AD group access are incorrectly flagged as missing logins.

Closes #8966

(do Copy-DbaAgentJob)

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.

Copy-DbaAgentJob Skips jobs owned by users that have permissions granted via AD Group Membership

1 participant