Bug 56102 - configure per group if the group is synced to MS365
configure per group if the group is synced to MS365
Status: NEW
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-30 14:41 CEST by Tim Breidenbach
Modified: 2023-06-26 12:30 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Breidenbach univentionstaff 2023-05-30 14:41:08 CEST
README.md:
[...]
1. Group synchronization doesn't happen by default. The UCR variable
   `office365/groups/sync` needs to activated for this. After changing that
   UCR variable the Univention Directory Listener needs to be restarted.
   Group synchronization may put some load on the server, because the selection
   of which groups to synchronize happens automatically, by checking nested group
   memberships of user accounts that are enabled for synchronization.
[..]

In an environment with a lot of group memberships per user you probably do not want to sync all groups to Azure in which the (M365 activated) user is. 

It should be possible to restrict the sync to a set of groups.
Possible solutions could be
 - to implement a white/blacklist mechanism like a LDAP filter (configurable per UCR?)
 - or to give a flag to groups like isM365Group=TRUE/FALSE

We should have in mind, that the license information is count as per user and we cannot simply activate full groups (then we miss the information about how many users are activated?).
Comment 1 Ingo Steuwer univentionstaff 2023-06-26 10:27:33 CEST
(In reply to Tim Breidenbach from comment #0)
> It should be possible to restrict the sync to a set of groups.
> Possible solutions could be
>  - to implement a white/blacklist mechanism like a LDAP filter (configurable
> per UCR?)
>  - or to give a flag to groups like isM365Group=TRUE/FALSE

I don't like the UCR variant for several reasons:
- UCR isn't good at large lists (lists of many groups)
- the information is bound to one UCS instance and not stored globally
- the information is in a different place than the decision which user is synced

So on product level this would need to go into UDM/LDAP.