But having ripped apart the .ps1 file and the .py file that support the module, I’m yet to identify where the heck I can list a partition.
fatal: [REDACTED]: FAILED! => {
“changed”: false,
“created”: false,
“msg”: “failed to retrieve initial details for group REDACTED: Parameter: ‘Partition’ is required for this operation.”
To be clear, that is definitely the entire output of errors with -vvvv, everything before the erorr is kinit authenticating.
If AD: LDS isn’t applicable, that’s fine, the org I’m with is trying to give us the least possible footprint to shoot ourselves in the foot with, before just giving me wide open throttle to a DC itself.
PS C:\Users\jal011adm> get-adgroup -identity GDAnsible -server localhost
get-adgroup : Parameter: ‘Partition’ is required for this operation.
At line:1 char:1
For AD LDS environments, the Partition parameter must be specified except in the following two conditions:
-The cmdlet is run from an Active Directory provider drive.
-A default naming context or partition is defined for the AD LDS environment. To specify a default naming context for an AD LDS environment, set the msDS-defaultNamingContext property of the Active Directory directory service agent (DSA) object (nTDSDSA) for the AD LDS instance.
It doesn’t look like the module supports LDS. You will have to edit it and create a PR that modifies it to specify the Partition value with what is required.