A Memory Called Empire by Arkady Martine
Recommended by Dan B:
Get ready for some serious palace intrigue! The new ambassador for a small station has been summoned to the capital of the empire because her predecessor is no longer suitable. What does that mean? The new ambassador is quickly plunged into unrest across the planet, and her predecessor is in the midst of it all. Lots of fun, great twists, and highly enjoyable!