Hello Everyone,
We are facing the issue in the production environment for few users during the execution of after create PowerShell scripts / native rules.
As per our findings, Active Directory After Create Rule is Throwing below error message and not able to execute the actual PowerShell script in the IQService Server. It looks like serviceResult is returning ‘&’ somehow and if ‘&’ character is there in result its throwing error.
Note: Its only failing with this error for few users only.
:::ERROR START:::
10/29/2024 03:07:01][ConnectorAfterCreateNativeRule][ERROR] Error: Item = → Message = At line:91 char:139
- … TAi8AeUwv5sM+7uq1KxX5FjAWU1h5hKpyBVwm5QAWWpnDHE6TlXSm1S/680I SH5w …
-
~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks (“&”) to pass it as part of a string.
At line:144 char:17
- ’
-
~
The string is missing the terminator: '.
:::ERROR END::::
Thanks!