obligatory

US /əˈblɪɡ.ə.tɔːr.i/
UK /əˈblɪɡ.ə.tɔːr.i/
"obligatory" picture
1.

required by a legal, moral, or other rule; compulsory.

:
It is obligatory for all students to wear uniforms.
Attendance at the meeting is obligatory for all staff.
2.

(of a person or their behavior) done to conform to social or legal requirements rather than from genuine desire or interest.

:
He gave an obligatory smile, clearly not amused.
The polite applause was merely obligatory.