This phrase means you absolutely must do something. It shows that not doing it is not okay. You have no other choice.
、。
In order to maintain good health, you must eat a balanced diet.
で、。
I had to collect a lot of documents in preparation for studying abroad.
、。
This contract must be legally valid.
に。
It is not the case that you have to comply with every single demand.
、に。
As long as you are a member of the team, I think you must be cooperative with the other members.