There were as many as five complaints of sexual harassment made against employees in the mayor’s office during the de Blasio administration, City Hall officials said Monday — but they refused to say how the perpetrators in those cases were disciplined.

Despite claiming transparency in the wake of the #MeToo movement, officials would only confirm that every complaint received was substantiated and that some form of discipline occurred.

“Out of respect for the complainants’ privacy and to encourage future reporting, we are not specifying disciplinary action on internal complaints,” said a City Hall spokeswoman.

Mayoral aides declined to specify the discipline meted out, even without employees’ names.

The mayor’s office employs about 500 workers.

Late Friday, City Hall for the first time provided a tally of sexual harassment complaints against municipal workers between mid-2013 and late 2017.

The numbers showed 1,312 complaints over the time period, with 221 cases substantiated.

Officials said they haven’t required agencies to keep track of discipline, so they weren’t able to say how many workers in the confirmed cases were punished.

They did reveal that 34 cases were settled through court action, costing taxpayers $6.2 million in payouts.

Helen Rosenthal, chair of the City Council Committee on Women, said the information provided in the data dump on Friday was woefully insufficient.

“It didn’t even come close to where we need to be. They were missing a lot of data, a lot more needs to be supplied,” she told The Post. “I am planning to push for more information.”

The data raised a host of questions about how the city handles allegations of sexual harassment.

It showed only 1.5 percent of the 471 complaints fielded by the Department of Education were substantiated over the four years, which prompted the city to hire 11 new investigators for that agency.

The figures also revealed strikingly few complaints at some of the largest agencies, such as the Department of Sanitation — which had 5 or fewer complaints despite a headcount of nearly 10,000.

A total of 28 agencies — including the relatively large Law Department and the Department of Information Technology and Telecommunications — reported 5 or fewer complaints over the four-year period.

The data doesn’t specify the exact number of complaints when it’s 5 or fewer.

The Council recently passed a slew of bills aimed at tackling sexual harassment in government offices, including one that mandates annual reporting on the number of complaints and substantiated cases.