We are setting extensionAttribute during disablement, and it is working fine. But, when we re-enable account, extensionAttribute doesn’t get clear. Every other attribute works fine during re-enable.
Disable works fine.
{
"name": "Account",
"description": null,
"usageType": "DISABLE",
"fields": [
{
"name": "AC_NewParent",
"transform": {
"attributes": {
"value": "OU=Disabled,DC=com"
},
"type": "static"
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "extensionAttribute",
"transform": {
"attributes": {
"input": {
"attributes": {
"input": "",
"expression": "now+3d"
},
"type": "dateMath"
},
"inputFormat": "yyyy-MM-dd'T'HH:mm",
"outputFormat": "MM/dd/yyyy"
},
"type": "dateFormat"
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "msExchHideFromAddressLists",
"transform": {
"attributes": {
"value": "true"
},
"type": "static"
},
"attributes": {},
"isRequired": false,
"type": "boolean",
"isMultiValued": false
}
]
}
Enable: Unable to reset extensionAttribute
{
"name": "Account",
"description": null,
"usageType": "ENABLE",
"fields": [
{
"name": "extensionAttribute",
"transform": {
"attributes": {
"value": ""
},
"type": "static"
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "msExchHideFromAddressLists",
"transform": {
"attributes": {
"value": "false"
},
"type": "static"
},
"attributes": {},
"isRequired": false,
"type": "boolean",
"isMultiValued": false
},
{
"name": "AC_NewParent",
"transform": {
"attributes": {
"name": "OU=Ex,DC=COM"
},
"type": "identityAttribute"
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
}
]
}
Also. I can see below error during attributeSync but apart from extensionAttribute, everything is working fine… aggregation is fine, account is getting re-enabled, and OU movements are fine during disable and enable
- Failed to update attributes for identity CN=user,DC=com. Failed to connect to the server for CN=user,DC=com:There is no such object on the server. 0000208D: NameErr: DSID-0310028C, problem 2001 (NO_OBJECT), data 0, best match of: ‘OU=Disabled OU,DC=com’ . HRESULT:[0x80072030]