On a fresh installation of Age of Empires IV: Anniversary Edition on my Xbox Series S, the game consistently crashes when I open the controller mapping settings and select the second entry.
I created this video to demonstrate the issue: https://youtu.be/wUj2DMXoRsI