As you know, the Xbox not supporting Bluetooth audio, so you have to go through some procedure which is given below:
To Xbox One or S console, connect Bluetooth Adapter.
Put AirPods In Pairing Mode
Go To Xbox One or S Settings > Devices & Connections > Bluetooth.
Select You Airpods
If Need Enter Pin Code.
Paired :)