Active Directory Source - After Modify Rule - Issue with &

I need to put a logic in AD aftermodify rule to call a PS script if a certain AD group is removed. That AD group has “&” in the name. I am using the following in my rule.
if($requestEntry.value -eq “CN=Build & Test Prod,OU=ABC,OU=ABC,DC=A,DC=B,DC=C,DC=edu”) {
$Build = $true
}
It looks like when I deploy the after modify rule using the API, it is converting “&” to amp; and $Build is not set to true because of this mismatch (& and amp;). How can i make this work?

There are two ways with which I have solutioned it previously:

i. In the AfterModify Rule I just check whether the Modify operation was invoked and then proceed with PSScript on the IQService box wherein I will check if requestedAttribute is memberOf and then iterate through the object and replace "&amp ; "with & and perform the necessary activities.

ii. Get the CN changed which of course is a huge issue from client perspective.

Please let me know if the above observations help you with the solutioning.

Thanks,
Aman

Thank you. Will put that on the PS script side. Not sure why sailpoint is converting it to ampersand. It just add some extra coding to acehive this usecase.

Thank you,
Biplav

Let me know if the solution works.

Thanks,
Aman