Copy DistinguishedName value to an ExtensionAttribute and move user

Copy DistinguishedName value to an ExtensionAttribute and move user

Hello everyone,

I'm trying to make a user modification template to save the current distinguishedName value to an ExtensionAttribute and then move that user to another OU using a modification rule.
My problems are 2:
First, the extensionAttribute remains empty after user modification, I am currently passing the variable %distinguishedName% to it in the template.
Second, I set the modification rule to modify the "Select Container" value to the new OU location (with no conditions) but the user won't move.

My template looks like this:





Do you know what I could possibly be doing wrong?

Thanks! 

                New to ADSelfService Plus?