[noun (する-verb noun)] + を余儀なくされる
を余儀なくされる is a formal expression meaning "to be forced to do something" or "to have no choice but to do something." It conveys that external circumstances or unavoidable situations compel someone to take a particular action against their will or preference.
The structure is built from the noun よぎ余儀 (meaning "another way" or "alternative"), the adjective ない (meaning "none"), and the passive form of する. Literally, it means something like "to be made to have no alternative but to…"
The pattern takes a noun (typically a する-verb noun) followed by をよぎなくされる余儀なくされる:
There is also an active causative form, を余儀なくさせる, meaning "to force someone to do something." The subject in this case is the thing or event causing the action: