1- Go to Advanced Settings of the connector
2- Select Users tab
3- Select Provision Attributes tab
4- Select Key: mailNickname
5- Press Remove button
6- Press Add Script button
7- Select Target Attribute: mailNickname
8- Add the following
9- Select OK
10- Select OK
11- Perform a new sync
Please perform the same process for Update Attributes as well.