-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0.0-rc9: Initial Import Of Users And Group Fails With 404 #42
Comments
This could be a nice improvement just to work as I'll see how to implement this, but is a big refactor of the way the function SyncGroupsUsers works when |
@mam8cc are the membership size for these groups different? |
Hey @joshuachong, thanks for getting back so quickly. Yes the |
Just FYI: 404 is always spitted when adding a first user to a group that did not exist prior to ssosync run. |
Since we currently happen to have a scratch AWS organisation for testing, I have been able to poke around here. With an empty SSO and 11 selected groups in Google (max of 22 users per filtered group) using the default
I can also confirm that with #45 we still encounter it (in case anyone is wondering if that PR helps - we need that fix too for other reasons). However having applied #47 on top of that and having removed the groups and users from SSO to start clean, I am not seeing this 404 at all. |
I believe this issue has been resolved. by release v2.0.0. Please let me know if you are still seeing this. |
Describe the bug
Starting with an empty SSO directory running the below command to sync our AWS Power Users group:
Checking in the AWS SSO console shows the group is created. A subsequent rerun of the same command yields a new error.
After checking the directory in the console, the group is empty.
Expected behavior
A group and its users should be created in a single pass.
Additional context
This does not happen consistently with all groups. I am able to sync another group without issues without problems.
The text was updated successfully, but these errors were encountered: