-
Notifications
You must be signed in to change notification settings - Fork 23
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
microsoft.ad.group module : Set members list #105
Comments
I believe #94 and #63 might be the cause of this issue here. The failing group names in your output are all over longer than 20 characters which the code erroneously believed wasn't a valid The workarounds if you cannot update is to specify the group in one of the following values
The last one is probably the easiest to specify as the GUID and SID are more machine friendly values while the DN is a bit hard to work with across various domains. |
@jborean93 Had the same issue, upgrading to 1.5.0 fixed it. I believe this can be closed. |
Thanks for confirming! |
SUMMARY
The process fails when you try to list multiple group members. Some groups are not found by the module although it was previously created by it.
microsoft.ad.group module – Manage Active Directory group objects module has an option under the members attribute: to set an groups list
ISSUE TYPE
COMPONENT NAME
microsoft.ad.group module
ANSIBLE VERSION
ansible [core 2.16.4]
config file = None
python version = 3.11.2 (main, Mar 13 2023, 12:18:29)
jinja version = 3.1.3
libyaml = True
COLLECTION VERSION
microsoft.ad collection (version 1.4.1)
CONFIGURATION
it also tested with
OS / ENVIRONMENT
Debian 12
STEPS TO REPRODUCE
Somes groups are working and others are not find
use upper configuration to reproduce probleme, add for exemple GG_F_{{site_name}}_ADMIN-EAR-RW in the group list
ACTUAL RESULTS
some groups are working like
some groups doesn't work
The text was updated successfully, but these errors were encountered: