Workflow Soluiton

 View Only
  • 1.  Delete profile path from AD

    Posted Nov 19, 2014 04:15 PM
    Has anyone created a workflow or script to manage AD accounts? In this case I want to delete the profile path from AD accounts to disable roaming profiles.


  • 2.  RE: Delete profile path from AD

    Posted Nov 20, 2014 03:39 PM

    You can edit this pretty easily with three components, however, "deleting" by setting a blank value seems to be problematic.  Here's how to edit the value.  (disclaimer - be cautious testing with these components, as you can inadvertently break important user accounts if the process is misconfigured) 

    - Get User Details

    - Single Value Mapping

    - Update User

    2014-11-20_12-37-55.png

    As an example, configure all your AD strings in the Properties tab (after adding the ActiveDirectory library to your project and dragging an AD component onto the palette).  Set the Get User Details up like this (substituting your info for mine)

    2014-11-20_12-31-15_0.png

    And the mapping like this ("Map Into Existing Value" is very important here):

    2014-11-20_12-32-39.png

    Set "ProfilePath" in the mapping designer to whatever value is appropriate.

    2014-11-20_12-36-30.png

    And finally, update the user like this:

    2014-11-20_12-37-09.png

    I'll look into a way to clear the value entirely.