BANGKOK — Myanmar’s military asserted its role in the country’s politics at a ceremony on Wednesday that featured a prominent guest, Daw Aung San Suu Kyi, the Nobel laureate, whose presence among the generals would have been unthinkable a few years ago.

In the capital, Naypyidaw, Ms. Aung San Suu Kyi sat in the front row, flanked by her former military captors and watching a display of the country’s armed might. It was a scene that symbolized what members of her party say is a fledging partnership, jarring to some, that recognizes the military’s continuing power in a country moving toward greater democracy.

The ceremony, in observance of the country’s Armed Forces Day, was broadcast on national television and featured a parade of tanks and rocket launchers as helicopters and fighter aircraft flew overhead, a more militaristic display than in previous years.

Nearly two years after a military junta ceded power to a nominally civilian administration, the army appears ascendant again, buttressed in part by Ms. Aung San Suu Kyi, who despite widespread hatred and resentment in Burmese society for the military after decades of oppression, has flattered the army with praise in recent months.