Skip to main content
Nintex Community Menu Bar

How to clear the manager attribute in Active Directory

  • June 15, 2016
  • 2 replies
  • 284 views

Forum|alt.badge.img+1

Hi,

we use the Update AD-User Action to update attributes of a user - also the manager - i can't solve the issue to clear the manager attribute. Empty field as mapping doesn't work. Any suggestions for clear a Manager field AD attribute via Nintex Workflow?

I found this information:

""""

AD does not allow you to assign either blank strings or nulls to any attribute. Technically, you must clear the attribute, after which the attribute is not saved for that user in AD. When you pass $Null to a parameter of Set-ADUser, under the covers PowerShell must invoke a Clear method.


Richard Mueller - MVP Directory Services

"""

Thank you,

Patrick

2 replies

Forum|alt.badge.img+17
  • June 15, 2016

Patrick,

Have you attempted to do that clear function via PowerShell and not a Workflow.  Because there are certain required fields for an AD profile, going through a workflow, similar to going through a UI may not allow that field to be null or blank on a save or update.

Try PowerShell or modifying the record from AD itself.


Forum|alt.badge.img+1
  • Author
  • June 15, 2016

I was asking to solve the problem via native Nintex Workflow - not any other way. I could dev anything - i need nintex anymore.