I can’t say exact details on it, usually something updated in the firewall rule or the PS execution policy might overridden by other rules. Since you are saying the scripts (Connector rule and PS scripts) are flawless on execution and same scripts running in sandbox, I assume it is mostly on infra level issue.