[GH-ISSUE #2546] Error adding new user to some groups #1285

Closed
opened 2026-03-02 13:42:59 +03:00 by kerem · 3 comments
Owner

Originally created by @SGeeves on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2546

Description

When creating a new user through the 'Users' page and copying the group membership from another user, we run into issues with some groups. Likely due to the groups being distribution groups etc. which require a mailbox for the new user before being added.

It is also observed that CIPP tried to also add the users to dynamic groups, which subsequently fails too.

image

In the above, the groups 'AllUsers' & 'Microsoft365Users' are dynamic groups.

When then adding to the 2 failed groups "OEM AU" & "All ** AU" after a minute or two this works without issue. (Via the Edit User section).

I am a sponsor under: FutureITNZ

Environment data

Sponsored instance 
Front end version number: 5.8.0
Back end version number: 5.8.0
Tried Tenant Cache Clear: false 
Tried Token Cache Clear: false
Originally created by @SGeeves on GitHub (Jun 11, 2024). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2546 ### Description When creating a new user through the 'Users' page and copying the group membership from another user, we run into issues with some groups. Likely due to the groups being distribution groups etc. which require a mailbox for the new user before being added. It is also observed that CIPP tried to also add the users to dynamic groups, which subsequently fails too. <img width="1436" alt="image" src="https://github.com/KelvinTegelaar/CIPP/assets/73685575/915be7c2-aa17-4e65-b2c1-3c37f722c9ee"> In the above, the groups 'AllUsers' & 'Microsoft365Users' are dynamic groups. When then adding to the 2 failed groups "OEM AU" & "All ** AU" after a minute or two this works without issue. (Via the Edit User section). I am a sponsor under: FutureITNZ ### Environment data ```PowerShell Sponsored instance Front end version number: 5.8.0 Back end version number: 5.8.0 Tried Tenant Cache Clear: false Tried Token Cache Clear: false ```
Author
Owner

@github-actions[bot] commented on GitHub (Jun 11, 2024):

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/
If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

<!-- gh-comment-id:2161644285 --> @github-actions[bot] commented on GitHub (Jun 11, 2024): Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug." Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".
Author
Owner

@github-actions[bot] commented on GitHub (Jun 21, 2024):

This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.

<!-- gh-comment-id:2181836574 --> @github-actions[bot] commented on GitHub (Jun 21, 2024): This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 5, 2024):

This issue was closed because it has been stalled for 14 days with no activity.

<!-- gh-comment-id:2209863556 --> @github-actions[bot] commented on GitHub (Jul 5, 2024): This issue was closed because it has been stalled for 14 days with no activity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#1285
No description provided.