Identify the preposition.
Everyone but Elsa enjoyed the boat ride.
but
everyone but
the boat ride
enjoyed the boat ride
but
The preposition in the sentence is "but".
To identify the preposition, you can look for a word that shows relationships between other words in the sentence. In this case, "but" is showing the relationship between "everyone" and "Elsa". It indicates an exclusion or exception.