Skip to content

fix(connector/microsoft): use least-privilege scope for group membership#4568

Closed
Geethree wants to merge 1 commit intodexidp:masterfrom
Geethree:patch-1
Closed

fix(connector/microsoft): use least-privilege scope for group membership#4568
Geethree wants to merge 1 commit intodexidp:masterfrom
Geethree:patch-1

Conversation

@Geethree
Copy link
Copy Markdown

@Geethree Geethree commented Feb 21, 2026

Change Microsoft connector group scope from Directory.Read.All to GroupMember.Read.All. Directory.Read.All grants broad read access to the entire directory, while GroupMember.Read.All is sufficient for listing group memberships and follows the principle of least privilege.

It looks like the old scope was required before 2020 which pre-dates this connector as far as I can tell.

image

Change Microsoft connector group scope from Directory.Read.All to GroupMember.Read.All. Directory.Read.All grants broad read access to the entire directory, while GroupMember.Read.All is sufficient for listing group memberships and follows the principle of least privilege.

Signed-off-by: Geethree <Geethree@users.noreply.github.com>
@cardoe
Copy link
Copy Markdown
Contributor

cardoe commented Feb 21, 2026

Duplicate of #4046

@Geethree
Copy link
Copy Markdown
Author

Ah. Thanks!

@Geethree Geethree closed this Feb 21, 2026
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.

2 participants