I try and use game bar to record a clip on my PC, and get this error:

Game BarRecording isn't workingError: 0x82323673. Press the Xbox button or Windows logo key + G for Game Bar

The solution to this problem is to go into windows settings, then gaming, then captures, then check the "record what happened" check box, which enables this capability. Microsoft does not tell you this in the message or in a support article or by documenting this error code in any way, because they hate you. Anyway, hopefully this helps someone. #TMYK!