Home > Forum > General > Add user to bps group action: Times out in synchronous mode

Add user to bps group action: Times out in synchronous mode
0

MVP

Hi everyone,

maybe someone of you has a guess what we can do.

- We have an environment with 6 content databases
- We have a process which manages the members of a BPS group.
- We use the Add/Remove single user to BPS groups to add a single user in synchronous mode (1)
- Even so the action times out after 50 seconds it's marked as completed successfully in the history (2)
- The duration of the corresponding synchronization of took about 2 minutes (3)
- According to the 'Details' the synchronization took 9 seconds. Started at 33:46 and ended 33:55 (4)


The big question is why does the individual synchronization take 2 minutes to complete.

MVP

I overlooked something.
The action triggers the synchronization of the group and afterwards the synchronization of the added user. This started a download from Azure AD which causes the delay.
- (7/2/2024 2:33:46 PM) Step started: Download selected objects from Azure AD if required
- (7/2/2024 2:35:44 PM) Step completed: Download selected objects from Azure AD if required (duration: 118687 ms)

What's interesting is that changing the group members via the Portal creates only one synchronization job /entry.

Improving the download from Azure AD is probably not possible, so we will have to cope with this.