Hagel focused much of his dinner speech on the gay rights matter, which was a central issue during the tenure of his predecessor at the Pentagon, Leon Panetta. Panetta, who retired in February, was honored at the dinner for his long career in public service.
Under Pentagon policy that took effect Sept. 3, same-sex spouses of military members are eligible for the same health care, housing and other benefits enjoyed by opposite-sex spouses. That decision followed the U.S. Supreme Court's ruling in June on the constitutionality of the Defense of Marriage Act.
Some states, however, have refused to allow issuance of the necessary Pentagon ID cards on National Guard facilities.
In Oklahoma, for example, Gov. Mary Fallin ordered her state's National Guard to stop processing requests, making legally married gay couples apply for benefits on federal facilities like Tinker Air Force Base. Oklahoma in 2004 approved a constitutional amendment prohibiting giving benefits of marriage to gay couples.
Hagel said these states' policies are unfair. He said he ordered the chief of the National Guard Bureau, Gen. Frank Grass, to "take immediate action to remedy this situation."
It was not immediately clear what legal authority Grass has to force the states to change course.
Hagel said he instructed Grass to meet with the adjutants general from the nine states where the ID cards are being denied at state facilities. He said those adjutants general, who work for their states' governor, "will be expected to comply" with Pentagon policy on this issue.
The American Military Partner Association, an advocacy group for gay and lesbian military members, praised Hagel's remarks.
"Secretary Hagel has made it clear the National Guard in these few rogue states are failing to live up to their obligations to military families under federal law," said Stephen Peters, the association's president. "We applaud him in showing strong leadership by ordering the National Guard in these states to comply and follow lawful direction and DoD policy."
Defense officials estimate there are 18,000 same-sex couples in the active-duty military, National Guard and Reserves and among military retirees. It's unclear how many of those are married. The Pentagon policy on equal access to benefits does not apply to unmarried gay partners of military members.
A Pentagon ban on gays serving openly in the military was dropped in September 2011.