Skip to content

[Bug]: Enabling (EntraID) directory synchronization empties all Defguard groups #2833

@jensver

Description

@jensver

Summary

After enabling (EntraID) directory synchronization all Defguard groups, including the admin group, is emptied.
Don't know if that how it should work, but it was unexpected.

Steps to reproduce

Enable (EntraID) directory synchronization with these parameters:

Image

Expected behavior

Keep users in existing groups.

Actual behavior

Removes all users from all groups.
Even the users that are not in the 'Sync only matching groups' EntraID group.

Defguard version

2.0.0-beta1

Environment details

Debian + Docker

Deployment / install method

Docker / Docker Compose

Relevant logs / output

Relevant configuration (redacted)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Ready to release

Relationships

None yet

Development

No branches or pull requests

Issue actions