If you are flying the sim on an Xbox One, then you’re using Cloud Gaming. It’s my understanding that peripherals, other than the Xbox controller, don’t seem to function with that version of the sim.
I may be wrong, but I’ve seen comments indicating as such on other threads re: cloud gaming.
The Hotas One works fine on a Series S/X running the native sim.