Syncing only users without "Disabled" in description attribute

Hi!

I'm using quickconnect to sync two active directories.

In the source Active Directory, there are some users with a description that has the word 'Disabled'. I do not want to sync those users.

In workflow provisioning wizard, if I create a condition description doesn't contain Disabled it does not capture ANY users!

I'm trying to use powershell condition instead due to the issue above.

My condition for the source objects is if ($srcObj["description"] -notcontains '*Disabled*'){$srcObj}

This doesn't work as well (no users are being provisioned). I've checked that if I take this condition out of the picture, all users are captured and synced.

Any ideas? I'm new to this tool.

Parents Reply Children
No Data