XBox Game Bar

Hello there, I’ve been trying to record some of my Democracy 4 gameplay through XBox Game Bar but the moment I attempt to turn on the recording process, a note is popping up and says that the game is not supported by the app. Is there any solution to this?