KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
758 stars 4.42k forks source link

Error adding new user to some groups #2546

Closed SGeeves closed 9 hours ago

SGeeves commented 3 weeks ago

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
github-actions[bot] commented 3 weeks ago

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!".

github-actions[bot] commented 2 weeks ago

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.

github-actions[bot] commented 9 hours ago

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