Closed amnibius closed 1 month ago
You are running Ansible 2.9 and this collection has a minimum requirement of 2.14 https://github.com/ansible-collections/microsoft.ad?tab=readme-ov-file#ansible-version-compatibility. It is failing because it is loading a module_util using a feature that was introduced in Ansible 2.10 so the cmdlet Invoke-AnsibleADObject
from the module util wasn't picked up.
Unfortunately not much you can do about this except for upgrading Ansible to a supported version.
SUMMARY
Getting an error while running the microsoft.ad Modules that error occurs: microsoft.ad.user microsoft.ad.group
ISSUE TYPE
COMPONENT NAME
microsoft.ad.group microsoft.ad.user
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Target OS Windows Server 2019 Standard where user or group should be created.
STEPS TO REPRODUCE
EXPECTED RESULTS
New group created
ACTUAL RESULTS