You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an ADUser you have the possibility to set extended attribute by specifying the OtherAttributes property (inputting a hashtable). This is unfourtunatley not possible with ActiveDirectoryDsc.
Error Message:
error within user creation: A parameter cannot be found that matches parameter name 'OtherAttributes'.
This is being tracked in issue #630. Closing this but happy to review a PR with the needed changes and corresponding unit tests. Closing this as it is being tracked in another issue.
Problem description
When creating an ADUser you have the possibility to set extended attribute by specifying the OtherAttributes property (inputting a hashtable). This is unfourtunatley not possible with ActiveDirectoryDsc.
Error Message:
error within user creation: A parameter cannot be found that matches parameter name 'OtherAttributes'.
Plain AD Command:
In active directory DSC:
Verbose logs
DSC configuration
Suggested solution
Add a parameter named OtherAttributes:
Change:
https://github.com/dsccommunity/ActiveDirectoryDsc/blob/main/source/DSCResources/MSFT_ADUser/MSFT_ADUser.psm1#L1459
to
if the user is already present, the otherattributes could just be overwritten:
Operating system the target node is running
PowerShell version and build the target node is running
ActiveDirectoryDsc version
The text was updated successfully, but these errors were encountered: