N.Y.
Judiciary Law Section 466
Attorney’s oath of office
1.
Each person, admitted as prescribed in this chapter must, upon his or her admission, take the constitutional oath of office in open court, and subscribe the same in a roll or book, to be kept in the office of the clerk of the appellate division of the supreme court for that purpose.2.
Any person now in actual service in the armed forces of the United States or whose induction or enlistment therein is imminent, or within sixty days after such person (1) has been honorably discharged, or(2)
has received a discharge other than bad conduct or dishonorable from such service, if such person has a qualifying condition, as defined in section one of the veterans’ services law, or(3)
has received a discharge other than bad conduct or dishonorable from such service, if such person is a discharged LGBT veteran, as defined in section one of the veterans’ services law, if the appellate division of the supreme court in the department in which such person resides is not in session, may subscribe and take the oath before a justice of that court, with the same force and effect as if it were taken in open court, except that in the first department the oath must be taken before the presiding justice or, in his or her absence, before the senior justice.
Source:
Section 466 — Attorney's oath of office, https://www.nysenate.gov/legislation/laws/JUD/466
(updated Apr. 7, 2023; accessed Oct. 26, 2024).