ConnectorBeforeCreate rule problem in AD Source

I have upload the ConnectorBeforeCreate rule to AD Source,when I create AD account,I encounter the error.The message is here:


When I remove the ConnectorBeforeCreate rule,the ISC work well.I think something wrong in ConnectorBeforeCreate rule.
my request body is here:
requestBodyUploadRule.json (1.1 KB)

Hi @TOPTYU ,

Could you please share us the complete rule?

myConnectorBeforeCreateRuleScript.ps1 (1.3 KB)