Traitor to the Throne (Rebel of the Sands #2) by Alwyn Hamilton

After joining the rebellion, Amani and her Demdji powers of controlling the desert are an integral part of the group, when she suddenly gets captured and brought to the place, home of the Sultan the rebellion is fighting against. While there, she tries to find out information to help the rebel, but doesn't sense even bigger danger around the corner.