GENEVA — Overriding the objections of Saudi Arabia and its allies, the United Nations Human Rights Council voted Friday to continue an investigation by a panel of international experts into the war in Yemen that is driving the country’s population toward famine.

The Council’s action followed days of diplomatic maneuvering over a scathing report presented by the experts earlier this month. It detailed human rights violations by all parties to the conflict, which is in its fourth year, and said individuals in Saudi Arabia, the United Arab Emirates and Yemen’s internationally recognized government were implicated in possible war crimes.

The 47-member Council voted 21 to 8, with 18 abstentions, in favor of a resolution supporting the experts’ work. The vote came minutes after the conclusion of days of discussions between the Saudi Arabia and its allies and a group of countries led by the Netherlands and Canada.

In the end, their quest for consensus hit a wall over Saudi calls for a review of the experts’ report and for changes in membership of the expert panel, said a senior diplomat involved in the discussions, who would not speak publicly because of the sensitivity of the issues.