stay on the good side of (someone)

stay on the good side of (someone)

To remain the object of someone's favor; to do something that causes someone to be pleased. The superintendent is a powerful woman in the school district, so be sure to stay on the good side of her. I'm hoping to stay on the good side of John with this cake I baked for him.
See also: good, of, on, side, stay
Farlex Dictionary of Idioms.

get/keep on the right/wrong ˈside of somebody

try to please somebody and not annoy them/annoy somebody and make them dislike you: She got on the wrong side of her boss after criticizing him in a meeting.
See also: get, keep, of, on, right, side, somebody, wrong
Farlex Partner Idioms Dictionary
See also:
  • liberate from
  • get someone's dander up, to
  • grease someone's palm/fist, to
  • cover
  • I'll thank you to (do something)
  • I'll thank you to do something
  • get in wrong with (someone)
  • get in wrong with someone
  • grab (someone or something) by the throat
  • grab someone by the throat