Hi All,
So i have a powershell script that does deployment and prompt users to accept it now or defer it later. If user accepts it, it will proceed and return 0 at the end which is fine. If user defers it, the script will return a custom error code (9999 in my case). I can see the error in compliance report but it appears as unknown error. I did define the error code under Deployment Type's return code with some description. Isn't this suppose to appear under the compliance report? Or am i misunderstanding how return code works?