Update AttributeRequest in the BeforeCreate Rule

Hi @tamalika01,
Please check once may it work for you.
$attrsAMAccountName.Operation = “Add”;
Instead of "Add" , you might need to use "Set" if the attribute already exists.

Thank you!