The Xbox One S and Xbox One X do not have a Kinect sensor port but do have an IR sensor built-in.
If the command does not work several times in a row, a Skip button will appear. Choose that button then choose Enter it. Enter the model number then choose Next.
If your TV is detected by the Xbox, then you are good to go. Otherwise, continue below.
If the command does not work several times in a row, a Skip button will appear. Choose that button then choose Enter it. Enter the model number for your remote control or TV then choose Next.