A state appeals court on Friday upheld the Public Employment Relations Commission’s dismissal of a grievance filed against the Office of the Public Defender by an investigator twice suspended for bad behavior.

The Appellate Division panel rejected Denise Cole’s allegations that the suspensions were in retaliation for engaging in union activity as a shop steward, which is protected behavior.