Ariz. Rev. Stat. § 23-212
C. If, after an investigation, the attorney general or county attorney determines that the complaint is not false and frivolous:
F. On a finding of a violation of subsection A of this section:
1. For a first violation, as described in paragraph 3 of this subsection, the court:
(d) May order the appropriate agencies to suspend all licenses described in subdivision (c) of this paragraph that are held by the employer for not to exceed ten business days. The court shall base its decision to suspend under this subdivision on any evidence or information submitted to it during the action for a violation of this subsection and shall consider the following factors, if relevant:
3. The violation shall be considered:
K. It is an affirmative defense to a violation of subsection A of this section that the employer was entrapped. To claim entrapment, the employer must admit by the employer's testimony or other evidence the substantial elements of the violation. An employer who asserts an entrapment defense has the burden of proving the following by a preponderance of the evidence: